From 04b2ecd5e6c5704a713a82e2c9da30707954dd89 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sun, 8 Feb 2004 06:24:00 +0000 Subject: [PATCH] Minor updates. --- plugins/RSS.py | 2 +- plugins/Weather.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/RSS.py b/plugins/RSS.py index 79d9e74a1..419f305cd 100644 --- a/plugins/RSS.py +++ b/plugins/RSS.py @@ -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, diff --git a/plugins/Weather.py b/plugins/Weather.py index bfec98330..b4c284cfb 100644 --- a/plugins/Weather.py +++ b/plugins/Weather.py @@ -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