Update wuvt.py

Strip whitespace from DJ name before comparisons
master
Matt Hazinski 2014-11-07 22:44:44 -05:00
parent cbd75bb3d8
commit 202681e36a
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)
if song and artist:
if dj[0:3] == 'DJ ':
if dj.strip()[0:3] == 'DJ ':
phenny.reply('{0} is currently playing: {1} by {2}'
.format(dj.strip(), song.strip(), artist.strip()))
else: