From 8d29d58f76a7c586900f4146774e2d0aaaae2a53 Mon Sep 17 00:00:00 2001 From: Roy Olav Purser Date: Thu, 13 May 2021 10:26:59 +0200 Subject: [PATCH] fix typo --- stream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stream.py b/stream.py index b971f60..0cf9f29 100755 --- a/stream.py +++ b/stream.py @@ -29,7 +29,7 @@ class ProxyElem(): def stream(self): session = streamlink.Streamlink() session.set_option("http-timeout", 2.0) - is self.proxy is not None: + if self.proxy is not None: session.set_option("https-proxy", "socks5://" + self.proxy) session.set_option("http-proxy", "socks5://" + self.proxy) return session