Skip to content

Commit

Permalink
Avoid nested tags on __str__
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Feb 1, 2022
1 parent 29c1aa3 commit 298c350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plextraktsync/plex_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def date_value(date):
def __repr__(self):
try:
guid = self.guids[0]
return f"<{guid.provider}:{guid.id}:{self.item}>"
return f"<{guid.provider}:{guid.id}:{str(self.item).strip('<>')}>"
except IndexError:
return f"<{self.item}>"

Expand Down

0 comments on commit 298c350

Please sign in to comment.