Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-10-30 12:02:00 +0200
committerAnton Hvornum <anton@hvornum.se>2021-10-30 12:02:00 +0200
commit05a8739231412ca1ce866e8f8b1636b3e7b94ebe (patch)
tree1e69acacf2b5689fbcb79a11d54800950add3504 /examples
parent76dc426a0fb69fa2d8cbc5c76934dc736d2839a6 (diff)
Wrong exposed variable corrected.
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 2efb4972..f8791c9b 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -245,9 +245,9 @@ def perform_filesystem_operations():
Setup the blockdevice, filesystem (and optionally encryption).
Once that's done, we'll hand over to perform_installation()
"""
- mode = archinstall.disk.GPT
+ mode = archinstall.GPT
if has_uefi() is False:
- mode = archinstall.disk.MBR
+ mode = archinstall.MBR
for drive in archinstall.arguments['harddrives']:
with archinstall.Filesystem(drive, mode) as fs: