index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-04-06 16:31:31 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-06 16:31:31 +0000 |
commit | ce2ebc0026573f7b4ce4231a8715de512df02c0a (patch) | |
tree | bb24a85db36b0d26aab019d79d0cbe9ad0f756de /archinstall/lib/output.py | |
parent | 3da4dc8e3015479e64603987ae229f75e2146548 (diff) | |
parent | 27853bf444b2f5c3355be58409106bc5fa1c2c4b (diff) |
-rw-r--r-- | archinstall/lib/output.py | 6 |
diff --git a/archinstall/lib/output.py b/archinstall/lib/output.py index 537fb695..6b184b4b 100644 --- a/archinstall/lib/output.py +++ b/archinstall/lib/output.py @@ -6,7 +6,7 @@ from pathlib import Path from .storage import storage # TODO: use logging's built in levels instead. -# Altough logging is threaded and I wish to avoid that. +# Although logging is threaded and I wish to avoid that. # It's more Pythonistic or w/e you want to call it. class LOG_LEVELS: Critical = 0b001 @@ -88,7 +88,7 @@ def log(*args, **kwargs): # Attempt to colorize the output if supported # Insert default colors and override with **kwargs if supports_color(): - kwargs = {'bg' : 'black', 'fg': 'white', **kwargs} + kwargs = {'fg': 'white', **kwargs} string = stylize_output(string, **kwargs) # If a logfile is defined in storage, @@ -130,4 +130,4 @@ def log(*args, **kwargs): # We use sys.stdout.write()+flush() instead of print() to try and # fix issue #94 sys.stdout.write(f"{string}\n") - sys.stdout.flush()
\ No newline at end of file + sys.stdout.flush() |