Author: asterix Date: 2008-09-29 07:00:41 +0200 (Mon, 29 Sep 2008) New Revision: 10445
Modified: trunk/src/lastfm.py Log: fix indentation that caused streamable song from lastfm not displayed
Modified: trunk/src/lastfm.py =================================================================== --- trunk/src/lastfm.py 2008-09-28 01:16:13 UTC (rev 10444) +++ trunk/src/lastfm.py 2008-09-29 05:00:41 UTC (rev 10445) @@ -110,9 +110,9 @@ 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