Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2019-11-18 22:03:49 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2019-11-18 22:03:49 +0000
commit29b091e0370bdde3a6955b8b646174436fad18b8 (patch)
tree94a947177301f11d5930efaec487a860420aba3b /archinstall.py
parent1129dae13d0f5cb9c33acd8b46b3173cb1a2e86a (diff)
String convertion on part numbers, maybe a stupid idea?
Diffstat (limited to 'archinstall.py')
-rw-r--r--archinstall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall.py b/archinstall.py
index 0a82ace7..f2ed3a7a 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -797,7 +797,7 @@ def refresh_partition_list(drive, *positionals, **kwargs):
if not 'partitions' in args:
args['partitions'] = oDict()
for index, part_name in enumerate(sorted(get_partitions(drive, *positionals, **kwargs).keys())):
- args['partitions'][index+1] = part_name
+ args['partitions'][str(index+1)] = part_name
return True
def mkfs_fat32(drive, partition, *positionals, **kwargs):