Add debugging for Python 3.3
This commit is contained in:
parent
f3c583359d
commit
7887242e84
|
@ -3045,6 +3045,7 @@ class User(_BaseObject):
|
||||||
seq = []
|
seq = []
|
||||||
for track in _collect_nodes(limit, self, "user.getRecentTracks", True, params):
|
for track in _collect_nodes(limit, self, "user.getRecentTracks", True, params):
|
||||||
|
|
||||||
|
print track.toprettyxml()
|
||||||
if track.hasAttribute('nowplaying'):
|
if track.hasAttribute('nowplaying'):
|
||||||
continue #to prevent the now playing track from sneaking in here
|
continue #to prevent the now playing track from sneaking in here
|
||||||
|
|
||||||
|
@ -3055,6 +3056,7 @@ class User(_BaseObject):
|
||||||
|
|
||||||
seq.append(PlayedTrack(Track(artist, title, self.network), date, timestamp))
|
seq.append(PlayedTrack(Track(artist, title, self.network), date, timestamp))
|
||||||
|
|
||||||
|
print seq
|
||||||
return seq
|
return seq
|
||||||
|
|
||||||
def get_id(self):
|
def get_id(self):
|
||||||
|
|
Loading…
Reference in a new issue