whut
This commit is contained in:
Luke Rogers 2013-06-14 15:56:39 +12:00
parent 8c363e5f76
commit 88c179f568

View file

@ -54,7 +54,7 @@ def spotify_url(match):
name = data["track"]["name"]
artist = data["track"]["artists"][0]["name"]
album = data["track"]["album"]["name"]
return u"Spotify Track: {} by {} from the album {}".format(name, artist, album) // shortened
return u"Spotify Track: {} by {} from the album {}".format(name, artist, album)
elif type == "artist":
return u"Spotify Artist: {}".format(data["artist"]["name"])
elif type == "album":