From bd4b080b63493a180cb979f1cda952e7927a7c15 Mon Sep 17 00:00:00 2001 From: Isis Lovecruft Date: Sat, 16 Feb 2013 23:28:46 +0000 Subject: Fix a bug in log.debug() where it was checking for the config setting in the wrong section of the config. --- src/leap/mx/util/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/leap/mx/util/log.py b/src/leap/mx/util/log.py index 02ceddf..f31684d 100644 --- a/src/leap/mx/util/log.py +++ b/src/leap/mx/util/log.py @@ -89,7 +89,7 @@ def msg(msg, *arg, **kwarg): def debug(msg, *arg, **kwarg): """Log a message at the DEBUG level.""" - if config.basic.debug: + if config.advanced.debug: print "[d] %s" % msg def warn(msg, *arg, **kwarg): -- cgit v1.2.3