on master help sign in
Merge pull request #2764 from mikamp116/patch-1
312a515Noémi Ványi
searx_extra/standalone_searx.py+1−1
@@ -31,7 +31,7 @@ Example to run it from python:
31... engine_cs = list(searx.engines.categories.keys())
31... engine_cs = list(searx.engines.categories.keys())
32... # load module
32... # load module
33... spec = importlib.util.spec_from_file_location(
33... spec = importlib.util.spec_from_file_location(
34−... 'utils.standalone_searx', 'utils/standalone_searx.py')
34+... 'utils.standalone_searx', 'searx_extra/standalone_searx.py')
35... sas = importlib.util.module_from_spec(spec)
35... sas = importlib.util.module_from_spec(spec)
36... spec.loader.exec_module(sas)
36... spec.loader.exec_module(sas)
37... # use function from module
37... # use function from module