use cached loglevel var in arguments to decide on status bar presence
Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
Este cometimento está contido em:
cometido por
Karl W. Schulz
ascendente
e24e6c35a5
cometimento
a3a0eac80a
@@ -338,7 +338,7 @@ class OmniProfiler_Base:
|
||||
|
||||
# show status bar in error-only mode
|
||||
disable_tqdm = True
|
||||
if logging.getLogger().getEffectiveLevel() >= logging.ERROR:
|
||||
if self.__args.loglevel >= logging.ERROR:
|
||||
disable_tqdm = False
|
||||
|
||||
# Run profiling on each input file
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador