From 02f87864141336edf41f922a602d5933b1f9f166 Mon Sep 17 00:00:00 2001 From: Roy Olav Purser Date: Tue, 11 May 2021 15:55:58 +0200 Subject: [PATCH] break on successful proxy --- stream.py | 1 + 1 file changed, 1 insertion(+) diff --git a/stream.py b/stream.py index eba0231..b3a41fd 100755 --- a/stream.py +++ b/stream.py @@ -181,6 +181,7 @@ class MainHandler(tornado.web.RequestHandler): proxy_list.remove(proxy_temp) proxies[provider] = [proxy_temp] + proxy_list proxy = proxy_temp + break if proxy is not None: try: streams = proxy.stream.streams(src)