wuvt: call strip on artist and track name

master
mutantmonkey 2012-06-09 22:17:00 -07:00
parent 8c5ace989c
commit 63c6adb316
1 changed files with 2 additions and 1 deletions

View File

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