Apparently the pigs at hamweather think Tsra == Thunder Storms. I didn't find

that to be very obvious, so I added a little .replace() to be more friendly
This commit is contained in:
James Vega 2003-12-02 03:10:16 +00:00
parent b1f0bbe887
commit a0b0999762
1 changed files with 1 additions and 0 deletions

View File

@ -227,6 +227,7 @@ class Http(callbacks.Privmsg):
conds = self._condregex.search(html).group(1)
if temp and conds and city and state:
conds = conds.replace('Tsra', 'Thunder Storms')
s = 'The current temperature in %s, %s is %s. ' \
'Conditions: %s.' % \
(city.strip(), state.strip(), temp, conds)