save the newest id, not the current
This commit is contained in:
parent
47a7452eb4
commit
2d12aa7107
|
@ -55,7 +55,7 @@ class TwitterBot(Bot):
|
||||||
text,
|
text,
|
||||||
status.id,
|
status.id,
|
||||||
status.created_at))
|
status.created_at))
|
||||||
user.save_seen_tweet(last_mention)
|
user.save_seen_tweet(status.id)
|
||||||
return reports
|
return reports
|
||||||
except tweepy.RateLimitError:
|
except tweepy.RateLimitError:
|
||||||
logger.error("Twitter API Error: Rate Limit Exceeded",
|
logger.error("Twitter API Error: Rate Limit Exceeded",
|
||||||
|
|
Loading…
Reference in a new issue