Skip to content

Commit

Permalink
Unify: use cached_property for trakt_rating as is for plex_rating
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Feb 23, 2024
1 parent b0a4d72 commit f7c5db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plextraktsync/media/Media.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def mark_watched_trakt(self):
def mark_watched_plex(self):
self.plex_api.mark_watched(self.plex.item)

@property
@cached_property
def trakt_rating(self):
return self.trakt_api.rating(self.trakt)

Expand Down

0 comments on commit f7c5db9

Please sign in to comment.