Current location

narf Source control manager Git

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshtrom <shtrom@1991c358-8f32-0410-a49a-990740bdf4c2>2007-11-03 13:58:57 +0000
committershtrom <shtrom@1991c358-8f32-0410-a49a-990740bdf4c2>2007-11-03 13:58:57 +0000
commit167c4580f664e3cb5bf8f8e6d6876bb9014728ca (patch)
tree574ebaf3c3775ddb7cc2f0e7f3cdd705901b9293 /lastfm.py
parent4d92dc2bb3df8135ff2298c84f48c7f7a1397f70 (diff)
Useless username comparison.
git-svn-id: svn+ssh://scm.narf.ssji.net/svn/shtrom/scripts@48 1991c358-8f32-0410-a49a-990740bdf4c2
Diffstat (limited to 'lastfm.py')
-rwxr-xr-xlastfm.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/lastfm.py b/lastfm.py
index 3837e9e..d2fa7ab 100755
--- a/lastfm.py
+++ b/lastfm.py
@@ -71,9 +71,6 @@ class LastFM:
recenttracks = xmltree.childNodes[0]
- if recenttracks.attributes.getNamedItem("user").value != self._username:
- raise Exception("Usernames from request and XML mismatch.")
-
tracklist = recenttracks.getElementsByTagName("track")
self.lastSongs = []