summaryrefslogtreecommitdiffstats
path: root/ircbot
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2014-01-09 23:53:27 +0100
committerlassulus <lassulus@googlemail.com>2014-01-09 23:53:27 +0100
commit9c73389ee25efd97083aea81af4f9e4f4eb99aca (patch)
tree544d2f890ac630574f832457abb8e71eb9f87f81 /ircbot
parent69694643bd15e713d2173c98f0ff56d634fa2711 (diff)
ircbot: maybe this?
Diffstat (limited to 'ircbot')
-rwxr-xr-xircbot/rssbot.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ircbot/rssbot.py b/ircbot/rssbot.py
index b2fa34a1..87c58781 100755
--- a/ircbot/rssbot.py
+++ b/ircbot/rssbot.py
@@ -55,6 +55,7 @@ class RssBot(irc.bot.SingleServerIRCBot):
if failcount>20:
print(self.name + ' is broken, going to die')
self.stop()
+ return
while self.loop:
try:
self.feed = feedparser.parse(self.url)