try
This commit is contained in:
@@ -231,7 +231,7 @@ def post_engagement_tweet():
|
||||
|
||||
try:
|
||||
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']}")
|
||||
logging.info(f"Rate limit exceeded for {author['username']}")
|
||||
sleep_time = 86400 # 1 day
|
||||
|
||||
Reference in New Issue
Block a user