on master help sign in
Merge pull request #2764 from mikamp116/patch-1

Fix bug for 'FileNotFoundError' in 'standalone_searx.py'

commit312a51566c2dad852d3d72c563ba66ceeac06985 authorNoémi Ványi <kvch@users.noreply.github.com> dateFri 16 Apr 2021, 17:26 (6 years ago) parent59df3be4652ef0
1 file changed+1−1
searx_extra/standalone_searx.py+1−1
searx_extra/standalone_searx.py+1−1
@@ -31,7 +31,7 @@ Example to run it from python:
3131... engine_cs = list(searx.engines.categories.keys())
3232... # load module
3333... spec = importlib.util.spec_from_file_location(
34−... 'utils.standalone_searx', 'utils/standalone_searx.py')
34+... 'utils.standalone_searx', 'searx_extra/standalone_searx.py')
3535... sas = importlib.util.module_from_spec(spec)
3636... spec.loader.exec_module(sas)
3737... # use function from module