mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-20 07:30:54 +01:00
Forgot muh spaces
This commit is contained in:
parent
53baabedad
commit
f2d064cfac
@ -287,7 +287,7 @@ class Weather(callbacks.Privmsg):
|
|||||||
irc.reply(s)
|
irc.reply(s)
|
||||||
else:
|
else:
|
||||||
irc.error('The format of the page was odd.')
|
irc.error('The format of the page was odd.')
|
||||||
ham=commands.wrap(ham, ['something'])
|
ham = commands.wrap(ham, ['something'])
|
||||||
|
|
||||||
_cnnUrl = 'http://weather.cnn.com/weather/search?wsearch='
|
_cnnUrl = 'http://weather.cnn.com/weather/search?wsearch='
|
||||||
_cnnFTemp = re.compile(r'(-?\d+)(°)(F)</span>', re.I | re.S)
|
_cnnFTemp = re.compile(r'(-?\d+)(°)(F)</span>', re.I | re.S)
|
||||||
@ -347,7 +347,7 @@ class Weather(callbacks.Privmsg):
|
|||||||
irc.reply(' '.join(resp))
|
irc.reply(' '.join(resp))
|
||||||
else:
|
else:
|
||||||
irc.error('Could not find weather information.')
|
irc.error('Could not find weather information.')
|
||||||
cnn=commands.wrap(cnn, ['something'])
|
cnn = commands.wrap(cnn, ['something'])
|
||||||
|
|
||||||
_wunderUrl = 'http://mobile.wunderground.com/cgi-bin/' \
|
_wunderUrl = 'http://mobile.wunderground.com/cgi-bin/' \
|
||||||
'findweather/getForecast?query='
|
'findweather/getForecast?query='
|
||||||
@ -432,7 +432,7 @@ class Weather(callbacks.Privmsg):
|
|||||||
irc.reply(' '.join(resp))
|
irc.reply(' '.join(resp))
|
||||||
else:
|
else:
|
||||||
irc.error('Could not find weather information.')
|
irc.error('Could not find weather information.')
|
||||||
wunder=commands.wrap(wunder, ['something'])
|
wunder = commands.wrap(wunder, ['something'])
|
||||||
|
|
||||||
conf.registerPlugin('Weather')
|
conf.registerPlugin('Weather')
|
||||||
conf.registerChannelValue(conf.supybot.plugins.Weather, 'temperatureUnit',
|
conf.registerChannelValue(conf.supybot.plugins.Weather, 'temperatureUnit',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user