Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/output.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2021-04-07 11:15:42 +0200
committerAnton Hvornum <anton.feeds@gmail.com>2021-04-07 11:15:42 +0200
commit42470dcc9ae13fca5f46d0f8e1be800744a8a797 (patch)
tree60696befca281b20e1d631d06f0a6a5b4a0879f1 /archinstall/lib/output.py
parent5ca64b59a605351231f7f9c34e57fadc5f668d9e (diff)
parent1d60e307e81a99ebd6cbfe26a92e5dfa96a8870a (diff)
Merging changes from master into feature branch to avoid future conflics.
Diffstat (limited to 'archinstall/lib/output.py')
-rw-r--r--archinstall/lib/output.py6
1 files changed, 3 insertions, 3 deletions
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()