index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-11-29 21:30:44 +0000 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-11-29 21:30:44 +0000 |
commit | 07e6e91f3cd49778168f693bcb52bc7b2a165c09 (patch) | |
tree | c32f9c0dca9f41757b5100ccb88f1d2e60c0cbc0 /archinstall/lib | |
parent | 82e0d2073822cf51745abb6e2f4469094b1f2696 (diff) |
-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. |