SearXNG: partial update: reference /etc/searxng/settings.yml

This commit is contained in:
Alexandre Flament 2021-10-08 11:35:47 +02:00 committed by Markus Heiser
parent 861925c50f
commit 3fad483b7a
5 changed files with 10 additions and 10 deletions

View file

@ -11,7 +11,7 @@ repo_root = realpath(dirname(realpath(__file__)) + sep + '..')
sys.path.insert(0, repo_root)
# Assure that the settings file from reposetorie's working tree is used to
# generate the build_env, not from /etc/searx/settings.yml.
# generate the build_env, not from /etc/searxng/settings.yml.
os.environ['SEARXNG_SETTINGS_PATH'] = join(repo_root, 'etc', 'settings.yml')
def _env(*arg, **kwargs):