mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Minor updates.
This commit is contained in:
parent
3ca4b1d43c
commit
04b2ecd5e6
@ -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,
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user