diff options
| author | Noémi Ványi <kvch@users.noreply.github.com> | 2021-04-16 17:26:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-16 17:26:21 +0200 |
| commit | 312a51566c2dad852d3d72c563ba66ceeac06985 (patch) | |
| tree | 855ed82840ce3b30074eccd8fff8d17590532e45 | |
| parent | 59df3bec285d0cfe9d0e8ea7e8fe861a6b6561ee (diff) | |
| parent | 4652ef0f06235d18cd5ccae7735f5b61d21dba77 (diff) | |
Merge pull request #2764 from mikamp116/patch-1
Fix bug for 'FileNotFoundError' in 'standalone_searx.py'
| -rwxr-xr-x | searx_extra/standalone_searx.py | 2 |
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 |