Browse Source

[fix] show debug output when enabled

Thomas Pointhuber 9 years ago
parent
commit
9cec9770be
1 changed files with 1 additions and 1 deletions
  1. 1 1
      searx/__init__.py

+ 1 - 1
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)