Update main.py
This commit is contained in:
parent
598c0f2af2
commit
2c842e79ad
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user