From 2020d4d5a0aae6ec5bf356495f7080662c4616e8 Mon Sep 17 00:00:00 2001 From: Luke Rogers Date: Sun, 26 Feb 2012 04:13:38 +1300 Subject: [PATCH] Capitalised some strings --- plugins/lastfm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/lastfm.py b/plugins/lastfm.py index bd1b564..93ebd60 100644 --- a/plugins/lastfm.py +++ b/plugins/lastfm.py @@ -22,12 +22,12 @@ def lastfm(inp, nick='', say=None, bot=None): if inp: # specified a user name return "error: %s" % response["message"] else: - return "your nick is not a LastFM account. try '.lastfm username'." + return "Your nick is not a LastFM account. Try '.lastfm username'." tracks = response["recenttracks"]["track"] if len(tracks) == 0: - return "no recent tracks for user %r found" % user + return "No recent tracks for user %r found." % user if type(tracks) == list: # if the user is listening to something, the tracks entry is a list @@ -40,7 +40,7 @@ def lastfm(inp, nick='', say=None, bot=None): track = tracks status = 'last track' else: - return "error parsing track listing" + return "Error parsing track listing". title = track["name"] album = track["album"]["#text"]