From 53669d63c9e01c2ed6e47d718b6983442e57fb6d Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Fri, 29 Nov 2019 13:40:47 +0100 Subject: Removing interactive since it's redundant --- archinstall.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archinstall.py b/archinstall.py index 06c6aa63..c0018858 100644 --- a/archinstall.py +++ b/archinstall.py @@ -781,7 +781,7 @@ def guess_country(ip, *positionals, **kwargs): log(f'Missing GeoIP database: {GEOIP_DB}', origin='guess_country', level=LOG_LEVELS.ERROR) return result -def setup_args_defaults(args, interactive=True): +def setup_args_defaults(args, *positionals, **kwargs): if not 'size' in args: args['size'] = '100%' if not 'mirrors' in args: args['mirrors'] = True if not 'start' in args: args['start'] = '513MiB' @@ -1160,7 +1160,7 @@ if __name__ == '__main__': ## If no drive was found in args, select one. if not 'drive' in args: - if interactive and len(harddrives): + if len(harddrives): drives = sorted(list(harddrives.keys())) if len(drives) > 1 and 'force' not in args and ('default' in args and 'first-drive' not in args): for index, drive in enumerate(drives): -- cgit v1.2.3-54-g00ecf