[fix] resolve minor review issues

This commit is contained in:
Adam Tauber 2020-07-25 03:20:29 +02:00
parent e45a269ecb
commit dff879d07d
2 changed files with 25 additions and 23 deletions

View file

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