From 5d5a087c50bfa5615c2fa5eca6c373a7b8aaf4bd Mon Sep 17 00:00:00 2001 From: Roy Olav Purser Date: Wed, 12 May 2021 00:17:44 +0200 Subject: [PATCH] set data to none --- stream.py | 1 + 1 file changed, 1 insertion(+) diff --git a/stream.py b/stream.py index 19f6d76..99690fa 100755 --- a/stream.py +++ b/stream.py @@ -202,6 +202,7 @@ class MainHandler(tornado.web.RequestHandler): self.write("Stream not found.") else: ctype = upstream_type(upstream, proxy) + data = None if "mpgurl" in ctype: data = rewrite(upstream, provider, proxy) else: