Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archinstall/lib/output.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/output.py b/archinstall/lib/output.py
index 8896c2a1..7118adca 100644
--- a/archinstall/lib/output.py
+++ b/archinstall/lib/output.py
@@ -82,7 +82,7 @@ def log(*args, **kwargs):
# Log to a file output unless specifically told to suppress this feature.
# (level has no effect on the log file, everything will be written there)
- if 'file' in kwargs and not 'suppress' in kwargs and kwargs['suppress']:
+ if 'file' in kwargs and ('suppress' not in kwargs or kwargs['suppress'] == False):
if type(kwargs['file']) is str:
with open(kwargs['file'], 'a') as log_file:
log_file.write(f"{orig_string}\n")