1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-13 00:10:09 +01:00
searxng/searx/network
Alexandre Flament 283ae7bfad [fix] searx.network: fix rare cases where LOOP is None
* searx.network.client.LOOP is initialized in a thread
* searx.network.__init__ imports LOOP which may happen
  before the thread has initialized LOOP

This commit adds a new function "searx.network.client.get_loop()"
to fix this issue
2021-04-27 17:47:36 +02:00
..
__init__.py [fix] searx.network: fix rare cases where LOOP is None 2021-04-27 17:47:36 +02:00
client.py [fix] searx.network: fix rare cases where LOOP is None 2021-04-27 17:47:36 +02:00
network.py [fix] searx.network: fix rare cases where LOOP is None 2021-04-27 17:47:36 +02:00
raise_for_httperror.py [httpx] replace searx.poolrequests by searx.network 2021-04-12 17:25:56 +02:00