From 5882fa958771df64bdcb5ff75f1768d4ee4b30dc Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Mon, 7 Dec 2020 15:35:29 +0100 Subject: Update disk.py --- archinstall/lib/disk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall/lib') 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}') -- cgit v1.2.3-70-g09d2