From 2c842e79ad1ee399048b921c3a841507399ef476 Mon Sep 17 00:00:00 2001 From: TylerCG <117808427+TylerCG@users.noreply.github.com> Date: Mon, 12 May 2025 18:28:12 -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 292f208..5dfad07 100644 --- a/app/main.py +++ b/app/main.py @@ -109,7 +109,8 @@ async def get_show_data(show: str): for item in cached_data: if show == item["SHOW"] or show == item["LINK"]: - item['SEASONS'] = download.grab.season(item['URL']) + if "SEASONS" not in item: + item['SEASONS'] = download.grab.season(item['URL']) return item return None