Update main.py
This commit is contained in:
parent
77e0876829
commit
598c0f2af2
@ -109,8 +109,7 @@ async def get_show_data(show: str):
|
||||
|
||||
for item in cached_data:
|
||||
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 None
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user