set data to none

This commit is contained in:
2021-05-12 00:17:44 +02:00
parent 2d0d9a920e
commit 5d5a087c50

@ -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: