mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
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:
parent
b1f0bbe887
commit
a0b0999762
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user