Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 89089370 authored by Markus Heiser's avatar Markus Heiser Committed by Alexandre Flament
Browse files

[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: default avatarMarkus Heiser <markus.heiser@darmarit.de>
parent 70a92089
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment