Skip to content

Commit

Permalink
fixup ratings items
Browse files Browse the repository at this point in the history
  • Loading branch information
simonc56 committed Dec 27, 2023
1 parent f9cf5e7 commit 193a1f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plextraktsync/trakt/TraktRatingCollection.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ class TraktRatingCollection(dict):
def __init__(self, trakt: TraktApi):
super().__init__()
self.trakt = trakt
self.items = dict()

def __missing__(self, media_type: str):
ratings = self.ratings(media_type)
self[media_type] = ratings
self.items = dict()
self.items[media_type] = self.rating_items(media_type)

return ratings
Expand Down

0 comments on commit 193a1f2

Please sign in to comment.