index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | archinstall/lib/output.py | 2 |
diff --git a/archinstall/lib/output.py b/archinstall/lib/output.py index 8331a04c..3c1b12e2 100644 --- a/archinstall/lib/output.py +++ b/archinstall/lib/output.py @@ -89,7 +89,7 @@ def log(*args, **kwargs): if type(kwargs['file']) is str: with open(kwargs['file'], 'a') as log_file: log_file.write(f"{orig_string}\n") - else: + elif kwargs['file']: kwargs['file'].write(f"{orig_string}\n") # If we assigned a level, try to log it to systemd's journald. |