From 63c6adb3165216e8b9e75059f1415c80f0a0e7ae Mon Sep 17 00:00:00 2001 From: mutantmonkey Date: Sat, 9 Jun 2012 22:17:00 -0700 Subject: [PATCH] wuvt: call strip on artist and track name --- modules/wuvt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/wuvt.py b/modules/wuvt.py index 05eb2c8..a6630b0 100644 --- a/modules/wuvt.py +++ b/modules/wuvt.py @@ -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']