From 3079845bbd4ae6d1d9176b1ebd3a565ec3a1de03 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 29 Sep 2008 05:00:41 +0000 Subject: [PATCH] fix indentation that caused streamable song from lastfm not displayed --- src/lastfm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lastfm.py b/src/lastfm.py index a5d0840f5..7f8b1808f 100644 --- a/src/lastfm.py +++ b/src/lastfm.py @@ -110,9 +110,9 @@ class LastFM: else: album = None - timeNode = track.getElementsByTagName('date')[0] - self.lastSongs.append((artist, name, album, - int(timeNode.getAttribute('uts')))) + timeNode = track.getElementsByTagName('date')[0] + self.lastSongs.append((artist, name, album, + int(timeNode.getAttribute('uts')))) self.scrobbling = True return True