This commit is contained in:
2025-05-22 11:17:56 +10:00
parent eb27a036c4
commit 3fc99a8a28
+1 -1
View File
@@ -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