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 View File

@@ -40,7 +40,7 @@ else:
40 40
 with open(settings_path) as settings_yaml:
41 41
     settings = load(settings_yaml)
42 42
 
43
-if settings.get('server', {}).get('debug'):
43
+if settings.get('general', {}).get('debug'):
44 44
     logging.basicConfig(level=logging.DEBUG)
45 45
 else:
46 46
     logging.basicConfig(level=logging.WARNING)