mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-27 01:57:33 +00:00
Fixed gevent import in main.py
This commit is contained in:
parent
5e3ce8c8c3
commit
e2b4912067
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Gevent monkey patch if gevent available. If not, it will be installed on during the init process.
|
||||
try:
|
||||
from gevent import monkey, Greenlet
|
||||
from gevent import monkey, Greenlet, joinall
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
|
@ -209,7 +209,7 @@ if settings.general.getboolean('use_sonarr'):
|
|||
greenlets.append(Greenlet.spawn(sonarr_signalr_client.start))
|
||||
if settings.general.getboolean('use_radarr'):
|
||||
greenlets.append(Greenlet.spawn(radarr_signalr_client.start))
|
||||
gevent.joinall(greenlets)
|
||||
joinall(greenlets)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Reference in a new issue