Fix playlist item representation (str, not int)
This commit is contained in:
parent
6bfd67a41d
commit
93b878ad78
1 changed files with 2 additions and 2 deletions
|
@ -209,8 +209,8 @@ class Playlist_Item(object):
|
||||||
Print the playlist item, e.g. to log
|
Print the playlist item, e.g. to log
|
||||||
"""
|
"""
|
||||||
answ = '{\'%s\': {' % (self.__class__.__name__)
|
answ = '{\'%s\': {' % (self.__class__.__name__)
|
||||||
answ += '\'id\': %s, ' % self.id
|
answ += '\'id\': \'%s\', ' % self.id
|
||||||
answ += '\'plex_id\': %s, ' % self.plex_id
|
answ += '\'plex_id\': \'%s\', ' % self.plex_id
|
||||||
for key in self.__dict__:
|
for key in self.__dict__:
|
||||||
if key in ('id', 'plex_id', 'xml'):
|
if key in ('id', 'plex_id', 'xml'):
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue