Fix playlist item representation (str, not int)

This commit is contained in:
tomkat83 2018-01-02 15:10:23 +01:00
parent 6bfd67a41d
commit 93b878ad78

View file

@ -209,8 +209,8 @@ class Playlist_Item(object):
Print the playlist item, e.g. to log
"""
answ = '{\'%s\': {' % (self.__class__.__name__)
answ += '\'id\': %s, ' % self.id
answ += '\'plex_id\': %s, ' % self.plex_id
answ += '\'id\': \'%s\', ' % self.id
answ += '\'plex_id\': \'%s\', ' % self.plex_id
for key in self.__dict__:
if key in ('id', 'plex_id', 'xml'):
continue