Current location

narf Source control manager Git

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshtrom <shtrom@1991c358-8f32-0410-a49a-990740bdf4c2>2007-11-03 23:19:00 +0000
committershtrom <shtrom@1991c358-8f32-0410-a49a-990740bdf4c2>2007-11-03 23:19:00 +0000
commitad709bd4682941db4bf1f0ee680352683ca7635a (patch)
tree6e5e8d6a7eddf1c4288485fde35c4dd89c7764ff /lastfm.py
parent347792ef58c2a5810b9568c3745d4ad536cc2975 (diff)
Wiser placement of the updates.
git-svn-id: svn+ssh://scm.narf.ssji.net/svn/shtrom/scripts@52 1991c358-8f32-0410-a49a-990740bdf4c2
Diffstat (limited to 'lastfm.py')
-rwxr-xr-xlastfm.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lastfm.py b/lastfm.py
index 16703a7..24a3af2 100755
--- a/lastfm.py
+++ b/lastfm.py
@@ -50,9 +50,7 @@ class LastFM:
"""
self.setUsername(username)
self._proxies = proxies
- self.lastSongs = []
self.scrobbling = False
- self.updateData()
def __str__(self):
return "Last.fm song tracker for user %s.%s" % (self._username,
@@ -64,6 +62,8 @@ class LastFM:
def setUsername(self, username):
self._username = username
+ self.lastSongs = []
+ self.updateData()
def updateData(self):
"""