Skip to content

Commit

Permalink
fix: enum error
Browse files Browse the repository at this point in the history
  • Loading branch information
dylandoamaral committed Aug 27, 2024
1 parent 611f139 commit 7049dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/trakt_tv/apis/trakt.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ async def fetch_anticipated_medias(self, configured_kinds: list[TraktKind]):
for trakt_kind, raw_medias in zip(kinds, data):
if raw_medias is not None:
medias = [
trakt_kind.value.model.from_trakt(media[trakt_kind.identifier]) for media in raw_medias
trakt_kind.value.model.from_trakt(media[trakt_kind.value.identifier]) for media in raw_medias
]
await gather(
*[media.get_more_information(language) for media in medias]
Expand Down

0 comments on commit 7049dd0

Please sign in to comment.