Forgot muh spaces

This commit is contained in:
James Vega 2004-09-22 22:23:54 +00:00
parent 53baabedad
commit f2d064cfac

View File

@ -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+)(&deg;)(F)</span>', re.I | re.S) _cnnFTemp = re.compile(r'(-?\d+)(&deg;)(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',