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@gmail.com>2019-04-11 20:07:32 +0200
committerAnton Hvornum <anton.feeds@gmail.com>2019-04-11 20:07:32 +0200
commit3863691b49ebf296eafbb1bf47487d9366dbb671 (patch)
tree6b187f742b7a799d0c5487f96fd121786d689d68 /archinstall.py
parent6e3e94d284c14fe9235d83cf1347e6e16b43be69 (diff)
Forgot to decode the bytes data
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 11b2e025..cc97328a 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -236,7 +236,7 @@ def grab_partitions(dev):
## TODO: Replace o = sys_command() with code, o = sys_command()
## and make sys_command() return the exit-code, way safer than checking output strings :P
return {}
- r = json.loads(o)
+ r = json.loads(o.decode('UTF-8'))
if len(r['blockdevices']) and 'children' in r['blockdevices'][0]:
for part in r['blockdevices'][0]['children']:
parts[part['name'][len(drive_name):]] = {