From e7678aaf0b7e8f847bbe9f81fcb1f44ccc45f1d5 Mon Sep 17 00:00:00 2001 From: TylerCG <117808427+TylerCG@users.noreply.github.com> Date: Sun, 27 Apr 2025 20:51:53 -0400 Subject: [PATCH] Update main.py --- app/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index c79a1b5..ab8daf4 100644 --- a/app/main.py +++ b/app/main.py @@ -126,7 +126,8 @@ async def webpage(request: Request): global cached_data if cached_data is None: await dropoutUpdate() + html = await shows() try: - return templates.TemplateResponse("dropout.html", {"request": request, "shows": await shows()}) + return templates.TemplateResponse("dropout.html", {"request": request, "shows": html}) except Exception as e: return JSONResponse(status_code=500, content={"status": "error", "message": str(e)})