Explorar el Código

[fix] show debug output when enabled

Thomas Pointhuber hace 10 años
padre
commit
9cec9770be
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      searx/__init__.py

+ 1
- 1
searx/__init__.py Ver fichero

@@ -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)