fixed indentation derp

This commit is contained in:
Luke Rogers 2012-04-19 20:32:31 +12:00
parent 7a654e0541
commit ba65e889f6

View file

@ -5,12 +5,12 @@ from util import hook, http
@hook.command('l', autohelp=False)
@hook.command(autohelp=False)
def lastfm(inp, nick='', say=None, db=None, bot=None):
".lastfm [user] -- Displays the now playing (or last played) "\
".lastfm [user] -- Displays the now playing (or last played) " \
"track of LastFM user [user]."
api_key = bot.config.get("api_keys", {}).get("lastfm")
api_key = bot.config.get("api_keys", {}).get("lastfm")
if not api_key:
return "error: no api key set"
if inp:
user = inp
else: