summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoémi Ványi <kvch@users.noreply.github.com>2021-04-16 17:26:21 +0200
committerGitHub <noreply@github.com>2021-04-16 17:26:21 +0200
commit312a51566c2dad852d3d72c563ba66ceeac06985 (patch)
tree855ed82840ce3b30074eccd8fff8d17590532e45
parent59df3bec285d0cfe9d0e8ea7e8fe861a6b6561ee (diff)
parent4652ef0f06235d18cd5ccae7735f5b61d21dba77 (diff)
Merge pull request #2764 from mikamp116/patch-1
Fix bug for 'FileNotFoundError' in 'standalone_searx.py'
-rwxr-xr-xsearx_extra/standalone_searx.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx_extra/standalone_searx.py b/searx_extra/standalone_searx.py
index f52b7e80c..b30762d3f 100755
--- a/searx_extra/standalone_searx.py
+++ b/searx_extra/standalone_searx.py
@@ -31,7 +31,7 @@ Example to run it from python:
... engine_cs = list(searx.engines.categories.keys())
... # load module
... spec = importlib.util.spec_from_file_location(
-... 'utils.standalone_searx', 'utils/standalone_searx.py')
+... 'utils.standalone_searx', 'searx_extra/standalone_searx.py')
... sas = importlib.util.module_from_spec(spec)
... spec.loader.exec_module(sas)
... # use function from module