Merge pull request #3056 from jecarr/master

Update settings_loader.get_user_settings_path()
This commit is contained in:
Noémi Ványi 2021-11-10 19:33:40 +01:00 committed by GitHub
commit 4882a3c7a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ def get_user_settings_path():
return check_settings_yml(environ['SEARX_SETTINGS_PATH'])
# if not, get it from searx code base or last solution from /etc/searx
return check_settings_yml('/etc/searx/settings.yml')
return check_settings_yml('settings.yml') or check_settings_yml('/etc/searx/settings.yml')
def update_dict(default_dict, user_dict):