This commit is contained in:
Roy Olav Purser 2021-05-14 17:33:09 +02:00
parent 7531786cfb
commit ec3e917d34
Signed by: roypur
GPG Key ID: E14D26A036F21656

View File

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