summaryrefslogtreecommitdiff
path: root/searx/__init__.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2020-07-25 03:20:29 +0200
committerAdam Tauber <asciimoo@gmail.com>2020-07-28 13:10:40 +0200
commitdff879d07d3cd937526804dda4f07d2e84249c59 (patch)
treea20ce84f4a147aa33ae34b1631aa6828b5b7b7f2 /searx/__init__.py
parente45a269ecbb3a80b61d706e5dc7075e250f5afa9 (diff)
downloadsearxng-dff879d07d3cd937526804dda4f07d2e84249c59.tar.gz
searxng-dff879d07d3cd937526804dda4f07d2e84249c59.zip
[fix] resolve minor review issues
Diffstat (limited to 'searx/__init__.py')
-rw-r--r--searx/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/searx/__init__.py b/searx/__init__.py
index e3036b766..1ba03ad63 100644
--- a/searx/__init__.py
+++ b/searx/__init__.py
@@ -56,6 +56,9 @@ if not settings_path:
with open(settings_path, 'r', encoding='utf-8') as settings_yaml:
settings = safe_load(settings_yaml)
+if settings['ui']['static_path']:
+ static_path = settings['ui']['static_path']
+
'''
enable debug if
the environnement variable SEARX_DEBUG is 1 or true