Update main.py

This commit is contained in:
TylerCG 2025-05-12 18:21:44 -04:00
parent 77e0876829
commit 598c0f2af2

View File

@ -109,8 +109,7 @@ async def get_show_data(show: str):
for item in cached_data: for item in cached_data:
if show == item["SHOW"] or show == item["LINK"]: if show == item["SHOW"] or show == item["LINK"]:
if "SEASONS" not in item: item['SEASONS'] = download.grab.season(item['URL'])
item['SEASONS'] = download.grab.season(item['URL'])
return item return item
return None return None