diff options
author | lassulus <lassulus@googlemail.com> | 2014-01-06 00:53:37 +0100 |
---|---|---|
committer | lassulus <lassulus@googlemail.com> | 2014-01-06 00:53:37 +0100 |
commit | f2adb4ea677d0651b89b63a9c59e44ff87bd63d0 (patch) | |
tree | 97973b52bff22ebed6a8a887f52a181841b16c50 /ircbot/rssbot.py | |
parent | 020fab58ce23a4f61f82f94a2c3b804d659e9dcd (diff) |
ircbot: rename lastpull to lastnew
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) |