Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDylan Taylor <dylan@dylanmtaylor.com>2021-05-15 15:08:50 -0400
committerDylan Taylor <dylan@dylanmtaylor.com>2021-05-15 15:08:50 -0400
commit4a34b3a9d032e62265f31444339ceba1ef0d7168 (patch)
treed5e0fdb4c17b52802a265c7dfc41c0e7c334437e /examples
parent126c7ebfca16156d4e1c738a5f562ba99a4ab5f2 (diff)
Fix E712
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/guided.py b/examples/guided.py
index f5da9265..a1a49448 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -321,7 +321,7 @@ def perform_installation(mountpoint):
installation.set_hostname(archinstall.arguments['hostname'])
if archinstall.arguments['mirror-region'].get("mirrors", None) is not None:
installation.set_mirrors(archinstall.arguments['mirror-region']) # Set the mirrors in the installation medium
- if archinstall.arguments["bootloader"] == "grub-install" and hasUEFI() == True:
+ if archinstall.arguments["bootloader"] == "grub-install" and hasUEFI():
installation.add_additional_packages("grub")
installation.set_keyboard_language(archinstall.arguments['keyboard-language'])
installation.add_bootloader(archinstall.arguments["bootloader"])