Shane 7 months ago
parent eb27a036c4
commit 3fc99a8a28
  1. 2
      foodie_engagement_tweet.py

@ -231,7 +231,7 @@ def post_engagement_tweet():
try: try:
print("Checking rate limit") print("Checking rate limit")
if not check_author_rate_limit(author['username']): if not check_author_rate_limit(author): # Pass the full author dictionary
print(f"Rate limit exceeded for {author['username']}") print(f"Rate limit exceeded for {author['username']}")
logging.info(f"Rate limit exceeded for {author['username']}") logging.info(f"Rate limit exceeded for {author['username']}")
sleep_time = 86400 # 1 day sleep_time = 86400 # 1 day

Loading…
Cancel
Save