Fix another UnicodeDecodeError for playlists

- Should fix #419
This commit is contained in:
croneter 2018-03-07 07:52:13 +01:00
parent 4332462075
commit a8ac23e74a

View file

@ -67,7 +67,7 @@ class PlaylistObjectBaseclase(object):
else: else:
# e.g. int # e.g. int
answ += '\'%s\': %s, ' % (key, unicode(getattr(self, key))) answ += '\'%s\': %s, ' % (key, unicode(getattr(self, key)))
return try_encode(answ + '\'items\': %s}}' % self.items) return try_encode(answ + '\'items\': %s}}') % self.items
def is_pkc_clear(self): def is_pkc_clear(self):
""" """