Current location

narf Source control manager Git

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshtrom <shtrom@1991c358-8f32-0410-a49a-990740bdf4c2>2007-11-03 21:08:23 +0000
committershtrom <shtrom@1991c358-8f32-0410-a49a-990740bdf4c2>2007-11-03 21:08:23 +0000
commit347792ef58c2a5810b9568c3745d4ad536cc2975 (patch)
treea3ac8d390dccf112f6317aa882ca0a2d8b9e4f33 /lastfm.py
parent157c67ae3c4ae76dc9a67958aa95afd77f6da114 (diff)
Small typo & pretty print recent songs by default from now on.
git-svn-id: svn+ssh://scm.narf.ssji.net/svn/shtrom/scripts@51 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 a5fa957..16703a7 100755
--- a/lastfm.py
+++ b/lastfm.py
@@ -196,7 +196,7 @@ class LastFM:
"""
str = ""
if songTuple == None:
- songTuple = self.getLastSong()
+ songTuple = self.getLastRecentSong()
if songTuple != None:
dict = {
@@ -213,7 +213,7 @@ if __name__ == "__main__":
from sys import argv
from time import sleep
if len(argv) != 2:
- raise Exception("Incorrect number of arguments. Only the Last.fm usernam is required.")
+ raise Exception("Incorrect number of arguments. Only the Last.fm username is required.")
lfm = LastFM(argv[1])
print lfm