save the newest id, not the current

master
b3yond 2018-09-24 23:08:29 +02:00
parent 2129306758
commit c7dd0ac16b
1 changed files with 1 additions and 1 deletions

View File

@ -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",