Improvements

This commit is contained in:
CommanderRedYT 2024-03-19 17:35:30 +01:00
parent 429010f664
commit 7d1941ed75
No known key found for this signature in database
GPG Key ID: 572F157519DC8A5E

View File

@ -232,7 +232,9 @@ class Show:
print(f"[setup] {path=} all_seasons_items={all_seasons['Items']}")
return [str(i.get("IndexNumber")) for i in all_seasons["Items"]]
res = [str(i.get("Name")) for i in all_seasons["Items"]]
return [name.split(' ')[1] if ' ' in name else name for name in res]
def delete_folders(self, folders: list[str]) -> None:
"""delete temporary folders created"""