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: