Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/disk.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-12-07 15:35:29 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-12-07 15:35:29 +0100
commit5882fa958771df64bdcb5ff75f1768d4ee4b30dc (patch)
tree12592638365cf7765a6c52623631d6e24dad9480 /archinstall/lib/disk.py
parenta8bb3b4bb30fd1fa3e9a9b94df2380bec090c152 (diff)
Update disk.py
Diffstat (limited to 'archinstall/lib/disk.py')
-rw-r--r--archinstall/lib/disk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index 078c8066..d3afc4a3 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -77,7 +77,7 @@ class BlockDevice():
#o = b''.join(sys_command('/usr/bin/lsblk -o name -J -b {dev}'.format(dev=dev)))
o = b''.join(sys_command(f'/usr/bin/lsblk -J {self.path}'))
- print(self, 'paritions:', o)
+ print(self, 'partitions:', o.decode('UTF-8'))
if b'not a block device' in o:
raise DiskError(f'Can not read partitions off something that isn\'t a block device: {self.path}')