diff --git a/app/main.py b/app/main.py index ab8daf4..632428b 100644 --- a/app/main.py +++ b/app/main.py @@ -126,8 +126,8 @@ async def webpage(request: Request): global cached_data if cached_data is None: await dropoutUpdate() - html = await shows() try: + html = 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)})