Minor updates.

This commit is contained in:
Jeremy Fincher 2004-02-08 06:24:00 +00:00
parent 3ca4b1d43c
commit 04b2ecd5e6
2 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ class RSS(callbacks.Privmsg):
except ValueError:
pass
if newheadlines:
pre = '%s%s ' % (prefix, name)
pre = '%s%s: ' % (prefix, name)
if bold:
pre = ircutils.bold(pre)
irc.replies(newheadlines, prefixer=pre, joiner=sep,

View File

@ -169,7 +169,7 @@ class Weather(callbacks.Privmsg):
if int(chill[:-2]) < int(temp[:-2]):
index = ' (Wind Chill: %s)' % chill
heat = self._heatregex.search(html)
if heat:
if heat is not None:
heat = heat.group(1)
if int(heat[:-2]) > int(temp[:-2]):
index = ' (Heat Index: %s)' % heat