[mod] check secret_key when searx.webapp is imported

Without this commit the module searx checks the secret_key value.

With this commit, make docs, utils/standalone_searx.py,
utils/fetch_firefox_version.py works without SEARX_DEBUG=1

For reference see https://github.com/searx/searx/pull/2386
This commit is contained in:
Alexandre Flament 2020-12-21 10:21:10 +01:00
parent eb1b5289d5
commit 568b9465e9
3 changed files with 6 additions and 5 deletions

View file

@ -15,7 +15,7 @@ Example to use this script:
.. code:: bash
$ SEARX_DEBUG=1 python3 utils/standalone_searx.py rain
$ python3 utils/standalone_searx.py rain
Example to run it from python: