set data to none
This commit is contained in:
parent
2d0d9a920e
commit
5d5a087c50
@ -202,6 +202,7 @@ class MainHandler(tornado.web.RequestHandler):
|
|||||||
self.write("Stream not found.")
|
self.write("Stream not found.")
|
||||||
else:
|
else:
|
||||||
ctype = upstream_type(upstream, proxy)
|
ctype = upstream_type(upstream, proxy)
|
||||||
|
data = None
|
||||||
if "mpgurl" in ctype:
|
if "mpgurl" in ctype:
|
||||||
data = rewrite(upstream, provider, proxy)
|
data = rewrite(upstream, provider, proxy)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user