diff options
author | tv <tv@nomic.retiolum> | 2014-01-06 01:00:19 +0100 |
---|---|---|
committer | tv <tv@nomic.retiolum> | 2014-01-06 01:00:19 +0100 |
commit | 54cb85b9ae82fe89d717fd5ce3de028b12c7c2fd (patch) | |
tree | 7931a79725681f7cdde4d4bb3cdd162f5a4f5258 /ircbot/rssbot.py | |
parent | 89317ee561297b3626fa86db4951187bf8bccea1 (diff) | |
parent | f2adb4ea677d0651b89b63a9c59e44ff87bd63d0 (diff) |
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'ircbot/rssbot.py')
-rwxr-xr-x | ircbot/rssbot.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ircbot/rssbot.py b/ircbot/rssbot.py index c3e05d1e..67f407ac 100755 --- a/ircbot/rssbot.py +++ b/ircbot/rssbot.py @@ -20,7 +20,7 @@ class RssBot(irc.bot.SingleServerIRCBot): self.oldnews = [] self.sendqueue = [] self.loop = True - self.lastpull = datetime.now() + self.lastnew = datetime.now() def start(self): self.upd_loop = _thread.start_new_thread(self.updateloop, ()) @@ -49,7 +49,7 @@ class RssBot(irc.bot.SingleServerIRCBot): #except AttributeError: self.send(entry.title + " " + entry.link) self.oldnews.append(entry.link) - self.lastpull = datetime.now() + self.lastnew = datetime.now() sleep(self.to) |