From 2d12aa710737360583c6bffb64490fe52ec34b0e Mon Sep 17 00:00:00 2001 From: b3yond Date: Mon, 24 Sep 2018 23:08:29 +0200 Subject: [PATCH] save the newest id, not the current --- active_bots/twitterbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/active_bots/twitterbot.py b/active_bots/twitterbot.py index 485f5c1..d11efca 100755 --- a/active_bots/twitterbot.py +++ b/active_bots/twitterbot.py @@ -55,7 +55,7 @@ class TwitterBot(Bot): text, status.id, status.created_at)) - user.save_seen_tweet(last_mention) + user.save_seen_tweet(status.id) return reports except tweepy.RateLimitError: logger.error("Twitter API Error: Rate Limit Exceeded",