Skip to content

Commit

Permalink
Show rating title in Rating str
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Dec 28, 2024
1 parent 935d873 commit 981c1ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plextraktsync/util/Rating.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def title(self):

def __str__(self):
rated_at = f"'{timestamp(self.rated_at)}'" if self.rated_at else None
return f"Rating(rating={self.rating}, rated_at={rated_at})"
return f"Rating(rating={self.rating}, rated_at={rated_at}, title={self.title})"

@classmethod
def create(cls, rating: int | float | None, rated_at: datetime | str | None):
Expand Down

0 comments on commit 981c1ef

Please sign in to comment.