summaryrefslogtreecommitdiffstats
path: root/ircbot/rssbot.py
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2014-01-06 00:53:37 +0100
committerlassulus <lassulus@googlemail.com>2014-01-06 00:53:37 +0100
commitf2adb4ea677d0651b89b63a9c59e44ff87bd63d0 (patch)
tree97973b52bff22ebed6a8a887f52a181841b16c50 /ircbot/rssbot.py
parent020fab58ce23a4f61f82f94a2c3b804d659e9dcd (diff)
ircbot: rename lastpull to lastnew
Diffstat (limited to 'ircbot/rssbot.py')
-rwxr-xr-xircbot/rssbot.py4
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)