Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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):