|
@@ -51,7 +51,7 @@ from flask import (
|
51
|
51
|
)
|
52
|
52
|
from flask_babel import Babel, gettext, format_date, format_decimal
|
53
|
53
|
from flask.json import jsonify
|
54
|
|
-from searx import settings, searx_dir
|
|
54
|
+from searx import settings, searx_dir, searx_debug
|
55
|
55
|
from searx.engines import (
|
56
|
56
|
categories, engines, get_engines_stats, engine_shortcuts
|
57
|
57
|
)
|
|
@@ -743,8 +743,8 @@ def page_not_found(e):
|
743
|
743
|
|
744
|
744
|
def run():
|
745
|
745
|
app.run(
|
746
|
|
- debug=settings['general']['debug'],
|
747
|
|
- use_debugger=settings['general']['debug'],
|
|
746
|
+ debug=searx_debug,
|
|
747
|
+ use_debugger=searx_debug,
|
748
|
748
|
port=settings['server']['port'],
|
749
|
749
|
host=settings['server']['bind_address'],
|
750
|
750
|
threaded=True
|