break on successful proxy
This commit is contained in:
parent
c9fe190cca
commit
02f8786414
@ -181,6 +181,7 @@ class MainHandler(tornado.web.RequestHandler):
|
|||||||
proxy_list.remove(proxy_temp)
|
proxy_list.remove(proxy_temp)
|
||||||
proxies[provider] = [proxy_temp] + proxy_list
|
proxies[provider] = [proxy_temp] + proxy_list
|
||||||
proxy = proxy_temp
|
proxy = proxy_temp
|
||||||
|
break
|
||||||
if proxy is not None:
|
if proxy is not None:
|
||||||
try:
|
try:
|
||||||
streams = proxy.stream.streams(src)
|
streams = proxy.stream.streams(src)
|
||||||
|
Loading…
Reference in New Issue
Block a user