commit: 9cec9770be27cf4fc47d1caa2bccc59d911c20c2
parent 3a8eafcc6b19b4b47b10534fbc683e4e3fbc064d
Author: Thomas Pointhuber <thomas.pointhuber@gmx.at>
Date: Mon, 24 Aug 2015 11:03:06 +0200
[fix] show debug output when enabled
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)