derp
This commit is contained in:
parent
7531786cfb
commit
ec3e917d34
@ -331,11 +331,6 @@ class MainHandler(tornado.web.RequestHandler):
|
|||||||
if hasattr(stream, "url"):
|
if hasattr(stream, "url"):
|
||||||
upstream = stream.url
|
upstream = stream.url
|
||||||
break
|
break
|
||||||
else:
|
|
||||||
logger.info(f'invalid provider ({handler.provider})')
|
|
||||||
self.set_status(404)
|
|
||||||
self.write("Stream not found. (invalid provider)")
|
|
||||||
return
|
|
||||||
if upstream is None:
|
if upstream is None:
|
||||||
logger.info(f'invalid upstream ({handler.provider})')
|
logger.info(f'invalid upstream ({handler.provider})')
|
||||||
self.set_status(404)
|
self.set_status(404)
|
||||||
|
Loading…
Reference in New Issue
Block a user