Markus Heiser de0249ddae [fix] don't mix loaded modules with imported modules (sys.modules)
The utils.load_module() function is used to load a python file (aka module) and
return the module's namespace.  SearXNG uses this function to load *engines and
answerers* from arbitrary locations with arbitrary modifications.  These are not
real python modules and it is not intended to mix this *engines and answerers*
with the python modules registered in sys.modules.

Closes: https://github.com/searxng/searxng/issues/312
Suggested-by: @dalf in https://github.com/searxng/searxng/issues/312
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-10-06 18:45:00 +02:00
..
2021-10-02 17:30:39 +02:00
2021-09-11 13:23:06 +02:00
2021-10-03 19:04:18 +02:00
2021-09-17 13:50:32 +00:00
2021-10-02 16:54:11 +02:00
2020-12-11 14:37:08 +01:00