From 20c9f25b232b7d69777d85d6447c93aa66ab737d Mon Sep 17 00:00:00 2001 From: mutantmonkey Date: Thu, 28 Jul 2011 10:55:23 -0400 Subject: [PATCH] slogan: strip strings --- modules/slogan.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/slogan.py b/modules/slogan.py index 2056e4b..6f4bcd4 100755 --- a/modules/slogan.py +++ b/modules/slogan.py @@ -20,7 +20,8 @@ def slogan(phenny, input): if word is None: phenny.say("You need to specify a word; try .slogan Granola") return - + + word = word.strip() slogan = sloganize(word) # Remove HTML tags