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