Skip to content

Commit

Permalink
Fomrat
Browse files Browse the repository at this point in the history
  • Loading branch information
fulder committed Jun 3, 2024
1 parent d034022 commit 9ae6455
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lambdas/updates_subscriber/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ def handler(event, context):
if api_ep_count is None:
api_ep_count = 0
episodes_info = jikan_api.get_episode_count(api_id)
ep_count = max(
api_ep_count, episodes_info.get("ep_count", 0)
)
ep_count = max(api_ep_count, episodes_info.get("ep_count", 0))
api_cache = {
"title": api_item.get("title"),
"release_date": api_item.get("aired", {}).get("from"),
Expand Down

0 comments on commit 9ae6455

Please sign in to comment.