mirror of https://github.com/nicolargo/glances.git
Disable warning message but in debug mode
This commit is contained in:
parent
35b671fa92
commit
b637c7c7e8
|
|
@ -244,6 +244,9 @@ Examples of use:
|
|||
if args.debug:
|
||||
from logging import DEBUG
|
||||
logger.setLevel(DEBUG)
|
||||
else:
|
||||
from warnings import simplefilter
|
||||
simplefilter("ignore")
|
||||
|
||||
# Plugins disable/enable
|
||||
if args.disable_plugin is not None:
|
||||
|
|
|
|||
Loading…
Reference in New Issue