From 3b3fb9307497e5ac97f068f92aab541d7f048854 Mon Sep 17 00:00:00 2001 From: jecarr <52256544+jecarr@users.noreply.github.com> Date: Wed, 10 Nov 2021 16:16:05 +1300 Subject: [PATCH] Add codebase settings.yml to settings_loader.get_user_settings_path() --- searx/settings_loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/settings_loader.py b/searx/settings_loader.py index cfdeb4d9..3dc94e88 100644 --- a/searx/settings_loader.py +++ b/searx/settings_loader.py @@ -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):