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.feeds+github@gmail.com>2020-10-18 13:20:58 +0200
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-10-18 13:20:58 +0200
commit9c5d1e98916d41c3a8cb951dcec08217cddefbed (patch)
treec36e45ce8e84f233ccb0ada91bf37839e46dac11 /examples
parent0e8130af9a2f18603d9bc8a4331f7d67a56b1b9f (diff)
Added error handling to guided.py when not selecting a profile to install.
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 83eeabe3..03874ada 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -24,7 +24,7 @@ def perform_installation(device, boot_partition, language, mirrors):
if len(packages) and packages[0] != '':
installation.add_additional_packages(packages)
- if len(profile.strip()):
+ if profile and len(profile.strip()):
installation.install_profile(profile)
for user, password in users.items():