index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-09-15 19:09:57 +0200 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2021-09-15 19:09:57 +0200 |
commit | 1a7056efc40a336a855be353f549af0eb7e0fca9 (patch) | |
tree | 5bfb00b7277e2a701dfd728f229871307e9ee86a | |
parent | d6acfec799280b764bf50e1623fb4608cc9a7742 (diff) |
-rw-r--r-- | examples/guided.py | 4 |
diff --git a/examples/guided.py b/examples/guided.py index a3c0db2d..e5cf2d38 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -29,7 +29,9 @@ archinstall.log(f"Disk states before installing: {archinstall.disk_layouts()}", def load_config(): if archinstall.arguments.get('harddrives', None) is not None: - archinstall.arguments['harddrives'] = [archinstall.BlockDevice(BlockDev) for BlockDev in archinstall.arguments['harddrives'].split(',')] + if type(archinstall.arguments['harddrives']) is str: + archinstall.arguments['harddrives'] = archinstall.arguments['harddrives'].split(',') + archinstall.arguments['harddrives'] = [archinstall.BlockDevice(BlockDev) for BlockDev in archinstall.arguments['harddrives']] # Temporarily disabling keep_partitions if config file is loaded # Temporary workaround to make Desktop Environments work if archinstall.arguments.get('profile', None) is not None: |