diff options
author | Isis Lovecruft <isis@torproject.org> | 2013-02-16 23:28:46 +0000 |
---|---|---|
committer | Isis Lovecruft <isis@torproject.org> | 2013-02-16 23:28:46 +0000 |
commit | bd4b080b63493a180cb979f1cda952e7927a7c15 (patch) | |
tree | 2eb8b0380b45adfe427d4f7f14327c27e18ece14 /src | |
parent | 3cd39505708819a2d70dd5b91f8d1de81e89181e (diff) |
Fix a bug in log.debug() where it was checking for the config setting in the
wrong section of the config.
Diffstat (limited to 'src')
-rw-r--r-- | src/leap/mx/util/log.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |