diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2021-06-01 13:34:41 +0200 |
|---|---|---|
| committer | Alexandre Flament <alex@al-f.net> | 2021-06-01 16:35:17 +0200 |
| commit | 89089370463b8d4c8b766d9ac9b59757e9328296 (patch) | |
| tree | 7df5b8dce3050fd1dc580935ae3aab493543f9b3 /utils/makefile.lxc | |
| parent | 70a9208972cc619b53b15b21ed590c3544b8b8f3 (diff) | |
[mod] searx.engines.load_engine return None instead of sys.exit(1)
Loading an engine should not exit the application (*). Instead
of exit, return None.
(*) RuntimeError still exit the application: syntax error, etc...
BTW: add documentation and normalize indentation (no functional change)
Suggested-by: @dalf https://github.com/searxng/searxng/pull/116#issuecomment-851865627
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/makefile.lxc')
0 files changed, 0 insertions, 0 deletions