index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-11-04 23:55:26 +0000 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-11-04 23:55:26 +0000 |
commit | 16d9bd5934609ce3ddf9474cad05f6a338a0d6c4 (patch) | |
tree | 08011fea5ec94e84453ecb0f6fdc54ac9f8bcb70 /archinstall/lib/output.py | |
parent | f594e6638a4fe772b5126e483887cbcc8704d3c0 (diff) |
-rw-r--r-- | archinstall/lib/output.py | 2 |
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") |