diff options
author | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2015-08-24 11:03:06 +0200 |
---|---|---|
committer | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2015-08-24 11:03:06 +0200 |
commit | 9cec9770be27cf4fc47d1caa2bccc59d911c20c2 (patch) | |
tree | 76a53b511e05b573f41256c60b2fa57e2bfdd539 /searx/__init__.py | |
parent | 3a8eafcc6b19b4b47b10534fbc683e4e3fbc064d (diff) | |
download | searxng-9cec9770be27cf4fc47d1caa2bccc59d911c20c2.tar.gz searxng-9cec9770be27cf4fc47d1caa2bccc59d911c20c2.zip |
[fix] show debug output when enabled
Diffstat (limited to 'searx/__init__.py')
-rw-r--r-- | searx/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/__init__.py b/searx/__init__.py index 2d545a809..ea21e8f13 100644 --- a/searx/__init__.py +++ b/searx/__init__.py @@ -40,7 +40,7 @@ else: with open(settings_path) as settings_yaml: settings = load(settings_yaml) -if settings.get('server', {}).get('debug'): +if settings.get('general', {}).get('debug'): logging.basicConfig(level=logging.DEBUG) else: logging.basicConfig(level=logging.WARNING) |