From e90f433e5eb77c4b4e3a6b5fb4e1b902222d6f89 Mon Sep 17 00:00:00 2001 From: hugovk Date: Sun, 2 Mar 2014 12:17:22 +0200 Subject: [PATCH] Add debugging for Python 3.3 --- pylast.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pylast.py b/pylast.py index 12d399c..20ce68f 100644 --- a/pylast.py +++ b/pylast.py @@ -3045,8 +3045,9 @@ class User(_BaseObject): seq = [] for track in _collect_nodes(limit, self, "user.getRecentTracks", True, params): - print type(track) - print track + print(type(track)) + print(track) + print(track.toprettyxml()) if track.hasAttribute('nowplaying'): continue #to prevent the now playing track from sneaking in here