From 9294cd54eda741bbf757bd793e42ea1da17d6743 Mon Sep 17 00:00:00 2001 From: Roy Olav Purser Date: Sat, 5 Feb 2022 22:03:32 +0100 Subject: [PATCH] try again --- backend/stream.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/stream.py b/backend/stream.py index cb44e07..4ed150a 100755 --- a/backend/stream.py +++ b/backend/stream.py @@ -150,21 +150,21 @@ class MainHandler(tornado.web.RequestHandler): self.redirect(url=video_info["upstream"], status=303) except NoDataError: self.set_status(404) - self.write("HTML template missing.") + self.write("Video not found.") except MissingTemplateError: self.set_status(404) - self.write("Video not found.") + self.write("HTML template missing.") async def handle_render(self, handler): try: video_info, meta, title = await self.get_data(handler) except NoDataError: self.set_status(404) - self.write("HTML template missing.") + self.write("Video not found.") return except MissingTemplateError: self.set_status(404) - self.write("Video not found.") + self.write("HTML template missing.") return script = config.template_script.generate(info=json.dumps(video_info))