index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | archinstall/lib/output.py | 5 |
diff --git a/archinstall/lib/output.py b/archinstall/lib/output.py index ffe00370..fa537dd4 100644 --- a/archinstall/lib/output.py +++ b/archinstall/lib/output.py @@ -105,5 +105,6 @@ def log(*args :str, **kwargs :Union[str, int, Dict[str, Union[str, int]]]) -> No # Finally, print the log unless we skipped it based on level. # We use sys.stdout.write()+flush() instead of print() to try and # fix issue #94 - sys.stdout.write(f"{string}\n") - sys.stdout.flush() + if kwargs.get('level', logging.INFO) != logging.DEBUG or storage['arguments'].get('verbose', False): + sys.stdout.write(f"{string}\n") + sys.stdout.flush() |