Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradvaithm <advaith.madhukar@gmail.com>2021-03-12 11:59:46 +0530
committeradvaithm <advaith.madhukar@gmail.com>2021-03-12 11:59:46 +0530
commit563a50dbc0d126c9d2e1038b7e71cf7d30a2fb29 (patch)
tree9e2b8dbeb003e409f17993d0c15cec98903bfa6f
parent94456bf8ba692fb33c819d416636b34d9b14f7af (diff)
fixed mistake in 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 16ee72e7..cd740571 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -348,7 +348,7 @@ class Filesystem():
else:
raise DiskError(f'Problem setting the partition format to GPT:', f'/usr/bin/parted -s {self.blockdevice.device} mklabel gpt')
elif self.mode == MBR:
- if sys_command(f'/usr/bin/parted -s {self.blockdevice.} mklabel msdos').exit_code == 0:
+ if sys_command(f'/usr/bin/parted -s {self.blockdevice.device} mklabel msdos').exit_code == 0:
return self
else:
raise DiskError(f'Problem setting the partition format to GPT:', f'/usr/bin/parted -s {self.blockdevice.device} mklabel msdos')