1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-05 04:40:11 +01:00
searxng/searx
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
..
answerers [fix] answers: don't crash when the query is an empty string 2021-03-01 10:52:39 +01:00
data Merge pull request #122 from searxng/update_data_update_ahmia_blacklist.py 2021-06-01 10:03:50 +02:00
engines [mod] searx.engines.load_engine return None instead of sys.exit(1) 2021-06-01 16:35:17 +02:00
metrics [refactor] metrics.get_reliabilities() - make code more readable 2021-05-22 15:17:18 +02:00
network [mod] move all default settings into searx.settings_defaults 2021-06-01 08:10:15 +02:00
plugins [mod] move all default settings into searx.settings_defaults 2021-06-01 08:10:15 +02:00
raise_for_httperror [enh] rewrite and enhance metrics 2021-04-21 16:24:46 +02:00
search [mod] settings_default: remove searx.search.max_request_timeout global variable 2021-06-01 08:10:15 +02:00
shared [fix] checker: don't run the checker when uwsgi is not properly configured 2021-01-13 14:07:39 +01:00
static [enh] add engine - Docker Hub 2021-05-30 15:18:36 +02:00
templates [enh] add settings option to enable/disable search formats 2021-05-28 08:32:52 +02:00
translations [enh] update translations from transifex 2021-03-27 19:10:54 +01:00
__init__.py [pylint] searx/__init__.py & searx/settings_defaults.py 2021-06-01 16:03:19 +02:00
autocomplete.py [httpx] replace searx.poolrequests by searx.network 2021-04-12 17:25:56 +02:00
exceptions.py [enh] add raise_for_httperror 2020-12-11 14:37:08 +01:00
external_bang.py [mod] add utils/fetch_external_bangs.py 2021-02-24 18:48:36 +01:00
external_urls.py [mod] add external_urls.json and wikidata_units.json 2020-10-28 08:09:25 +01:00
languages.py Update searx.data - update_languages.py 2021-03-05 10:56:46 +00:00
preferences.py [mod] move all default settings into searx.settings_defaults 2021-06-01 08:10:15 +02:00
query.py [enh] autocomplete refactoring, autocomplete on external bangs 2021-03-01 19:12:32 +01:00
results.py [fix] offline engine: don't crash on time recording 2021-05-22 15:17:18 +02:00
settings_defaults.py [pylint] searx/__init__.py & searx/settings_defaults.py 2021-06-01 16:03:19 +02:00
settings_loader.py [fix] unit test: don't load /etc/searx/settings.yml 2021-05-18 17:23:21 +02:00
settings_robot.yml [enh] add DOI resolver from sci-hub / replace default DOI 2021-04-22 12:13:01 +02:00
settings.yml [fix] mankier: fix paging 2021-05-31 22:33:40 +02:00
testing.py Bump pylint from 2.7.4 to 2.8.2 2021-05-03 15:45:30 +02:00
utils.py [mod] move all default settings into searx.settings_defaults 2021-06-01 08:10:15 +02:00
version.py [enh] release v1.0.0 2021-03-27 20:30:08 +01:00
webadapter.py [enh] add ability to send engine data to subsequent requests 2021-03-06 12:12:35 +01:00
webapp.py [mod] move all default settings into searx.settings_defaults 2021-06-01 08:10:15 +02:00
webutils.py [mod] move all default settings into searx.settings_defaults 2021-06-01 08:10:15 +02:00