mirror of
https://github.com/ilyakooo0/searx.git
synced 2024-12-02 01:14:39 +03:00
Add codebase settings.yml to settings_loader.get_user_settings_path()
This commit is contained in:
parent
21d7efa6ca
commit
3b3fb93074
@ -41,7 +41,7 @@ def get_user_settings_path():
|
|||||||
return check_settings_yml(environ['SEARX_SETTINGS_PATH'])
|
return check_settings_yml(environ['SEARX_SETTINGS_PATH'])
|
||||||
|
|
||||||
# if not, get it from searx code base or last solution from /etc/searx
|
# 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):
|
def update_dict(default_dict, user_dict):
|
||||||
|
Loading…
Reference in New Issue
Block a user