Merge pull request #55 from matthazinski/patch-2

Update wuvt.py
master
mutantmonkey 2014-11-08 03:46:14 +00:00
commit d1ab481f8e
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ def wuvt(phenny, input):
dj = r_dj.search(djpage).group(1) dj = r_dj.search(djpage).group(1)
if song and artist: if song and artist:
if dj[0:3] == 'DJ ': if dj.strip()[0:3] == 'DJ ':
phenny.reply('{0} is currently playing: {1} by {2}' phenny.reply('{0} is currently playing: {1} by {2}'
.format(dj.strip(), song.strip(), artist.strip())) .format(dj.strip(), song.strip(), artist.strip()))
else: else: