Flipped log level logic.
This commit is contained in:
parent
20d9858cf6
commit
4b6e312cfa
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ def ask_user_questions():
|
|||
else:
|
||||
archinstall.arguments['harddrives'] = [
|
||||
archinstall.BlockDevice(BlockDev) for BlockDev in archinstall.generic_multi_select(archinstall.all_disks(),
|
||||
text="Select one or more harddrives to use and configure (leave blank to skip this step): "
|
||||
text="Select one or more harddrives to use and configure (leave blank to skip this step): ",
|
||||
allow_empty=True)
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue