Update main.py

This commit is contained in:
TylerCG 2025-05-12 18:28:12 -04:00
parent 598c0f2af2
commit 2c842e79ad

View File

@ -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