Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2021-05-11 11:41:43 +0200
committerAnton Hvornum <anton.feeds@gmail.com>2021-05-11 11:41:43 +0200
commit4b6e312cfa73974304d7b52c25aa7d165e4d61a7 (patch)
treebdbdb5eedcb9dfff241ce1420b495e99e3fa194e /archinstall
parent20d9858cf608047aeb4f7d2511e2163c04f921de (diff)
Flipped log level logic.
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/lib/output.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/output.py b/archinstall/lib/output.py
index 06d99778..13e6ce20 100644
--- a/archinstall/lib/output.py
+++ b/archinstall/lib/output.py
@@ -148,7 +148,7 @@ def log(*args, **kwargs):
log("Deprecated level detected in log message, please use new logging.<level> instead for the following log message:", fg="red", level=logging.ERROR, force=True)
kwargs['level'] = logging.DEBUG
- if kwargs['level'] > storage.get('LOG_LEVEL', logging.INFO) and not 'force' in kwargs:
+ if kwargs['level'] < storage.get('LOG_LEVEL', logging.INFO) and not 'force' in kwargs:
# Level on log message was Debug, but output level is set to Info.
# In that case, we'll drop it.
return None