Skip to content

Commit

Permalink
chore: updated year to identify ongoing animes ⚒️
Browse files Browse the repository at this point in the history
  • Loading branch information
kaif-00z authored Jan 4, 2025
1 parent d81527e commit ad957e4
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions libs/kitsu.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,10 @@ async def searcher(
res_data["data"]["attributes"]["endDate"]
or res_data["data"]["attributes"]["startDate"]
):
if "2024" not in (
if "2025" not in (
res_data["data"]["attributes"]["endDate"] or ""
):
if "2024" not in (
res_data["data"]["attributes"]["startDate"] or ""
):
) :
if all(year not in (res_data["data"]["attributes"]["startDate"] or "") for year in ["2024", "2025"]):
continue
return res_data
except BaseException:
Expand Down

0 comments on commit ad957e4

Please sign in to comment.