diff options
author | Adam Tauber <asciimoo@gmail.com> | 2020-07-25 03:20:29 +0200 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2020-07-28 13:10:40 +0200 |
commit | dff879d07d3cd937526804dda4f07d2e84249c59 (patch) | |
tree | a20ce84f4a147aa33ae34b1631aa6828b5b7b7f2 /searx/__init__.py | |
parent | e45a269ecbb3a80b61d706e5dc7075e250f5afa9 (diff) | |
download | searxng-dff879d07d3cd937526804dda4f07d2e84249c59.tar.gz searxng-dff879d07d3cd937526804dda4f07d2e84249c59.zip |
[fix] resolve minor review issues
Diffstat (limited to 'searx/__init__.py')
-rw-r--r-- | searx/__init__.py | 3 |
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 |