From bc3f3d4934c2d57c9434579ab7d8bc90097b1836 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Tue, 1 Jun 2021 15:35:31 -0400 Subject: [PATCH] Added missing import --- bazarr/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bazarr/main.py b/bazarr/main.py index 7139903d3..2b791e391 100644 --- a/bazarr/main.py +++ b/bazarr/main.py @@ -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 + from gevent import monkey, Greenlet except ImportError: pass else: @@ -197,9 +197,9 @@ def proxy(protocol, url): if settings.general.getboolean('use_sonarr'): - gevent.Greenlet.spawn(sonarr_signalr_client.start) + Greenlet.spawn(sonarr_signalr_client.start) if settings.general.getboolean('use_radarr'): - gevent.Greenlet.spawn(radarr_signalr_client.start) + Greenlet.spawn(radarr_signalr_client.start) if __name__ == "__main__":