Fix logging

This commit is contained in:
tomkat83 2016-12-28 14:52:14 +01:00
parent 4208bb9b73
commit e24f6b53fc

View file

@ -32,7 +32,7 @@ class Playlist_Object_Baseclase(object):
answ = "<%s: " % (self.__class__.__name__)
# For some reason, can't use dir directly
answ += "ID: %s, " % self.ID
answ += "items: %s" % self.items
answ += "items: %s, " % self.items
for key in self.__dict__:
if key not in ("ID", 'items'):
answ += '%s: %s, ' % (key, getattr(self, key))