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 Dec 19, 2021
1 parent 58eddb5 commit f5b6137
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 @@ -343,7 +343,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 f5b6137

Please sign in to comment.