on master help sign in
[fix] show debug output when enabled
commit9cec9770be27cf4fc47d1caa2bccc59d911c20c2 authorThomas Pointhuber <thomas.pointhuber@gmx.at> dateMon 24 Aug 2015, 11:03 (11 years ago) parent3a8eafc
1 file changed+1−1
searx/__init__.py+1−1
searx/__init__.py+1−1
@@ -40,7 +40,7 @@ else:
4040with open(settings_path) as settings_yaml:
4141 settings = load(settings_yaml)
4242
43−if settings.get('server', {}).get('debug'):
43+if settings.get('general', {}).get('debug'):
4444 logging.basicConfig(level=logging.DEBUG)
4545else:
4646 logging.basicConfig(level=logging.WARNING)