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@hvornum.se>2021-04-06 16:31:31 +0000
committerGitHub <noreply@github.com>2021-04-06 16:31:31 +0000
commitce2ebc0026573f7b4ce4231a8715de512df02c0a (patch)
treebb24a85db36b0d26aab019d79d0cbe9ad0f756de /archinstall/lib/output.py
parent3da4dc8e3015479e64603987ae229f75e2146548 (diff)
parent27853bf444b2f5c3355be58409106bc5fa1c2c4b (diff)
Merge branch 'master' into fix-undef-vars
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()