Markus Heiser 8908937046 [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>
2021-06-01 16:35:17 +02:00
..
2021-01-14 20:57:17 +01:00
2021-01-14 20:57:17 +01:00
2021-01-14 20:57:17 +01:00
2021-02-22 21:19:34 +01:00
2021-02-04 11:31:35 +01:00
2021-01-14 20:57:17 +01:00
2021-01-14 20:57:17 +01:00
2021-04-10 15:38:33 +02:00
2021-01-14 20:57:17 +01:00
2021-05-30 15:18:36 +02:00
2021-01-14 20:57:17 +01:00
2021-01-14 20:57:17 +01:00
2021-01-14 20:57:17 +01:00
2021-01-14 20:57:17 +01:00
2021-03-01 08:52:36 +01:00
2021-01-14 20:57:17 +01:00
2021-01-14 20:57:17 +01:00
2021-02-09 12:45:39 +01:00
2021-01-14 20:57:17 +01:00
2021-05-28 17:36:46 +02:00
2021-01-14 20:57:17 +01:00
2021-01-14 20:57:17 +01:00
2021-02-13 19:47:33 +01:00
2021-05-28 17:34:44 +02:00
2021-05-02 17:46:40 -07:00
2021-02-07 10:05:35 -03:00
2021-01-14 20:57:17 +01:00
2021-04-21 16:31:29 +02:00
2021-01-14 20:57:17 +01:00
2021-01-14 20:57:17 +01:00
2021-04-10 15:38:33 +02:00