index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-09-15 19:17:32 +0200 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2021-09-15 19:17:32 +0200 |
commit | e6549c1edbb63e255a8a6d971953bbbe1ab2d3c5 (patch) | |
tree | 17d9b6e0f94c1383a70a9e0ea9d7daebe1a9de5a /examples | |
parent | 2cfbafc6534ebcca7e8d52be263aed4d54c04914 (diff) |
-rw-r--r-- | examples/guided.py | 4 |
diff --git a/examples/guided.py b/examples/guided.py index 10f4c9eb..b3f1b14b 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -112,7 +112,9 @@ def ask_user_questions(): # Ask which harddrives/block-devices we will install to # and convert them into archinstall.BlockDevice() objects. if archinstall.arguments.get('harddrives', 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']] else: archinstall.arguments['harddrives'] = archinstall.generic_multi_select(archinstall.all_disks(), text="Select one or more harddrives to use and configure (leave blank to skip this step): ", |