From d9b17f5a45a8b9f61eddadc9b0139b7f1fda52f3 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 13 Mar 2003 07:34:11 +0000 Subject: [PATCH] Slightly changed the formatting of the output. --- plugins/Http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Http.py b/plugins/Http.py index 6499f062d..20d3bde5b 100644 --- a/plugins/Http.py +++ b/plugins/Http.py @@ -184,7 +184,7 @@ class Http(callbacks.Privmsg): html = urllib2.urlopen(url).read() city, state = self._cityregex.search(html).groups() temp = self._tempregex.search(html).group(1) - conds = self._condregex.search(html).group(1) + conds = self._condregex.search(html).group(1).strip() irc.reply(msg, 'The current temperature in %s, %s is %dF with %s\ conditions' % (city, state, int(temp), conds)) except AttributeError: