fix no tweet issue
This commit is contained in:
@@ -316,7 +316,7 @@ def curate_from_reddit():
|
||||
uploader=uploader,
|
||||
pixabay_url=pixabay_url,
|
||||
interest_score=interest_score,
|
||||
post_tweet=True # Post the X tweet on the first call
|
||||
should_post_tweet=True # Post the X tweet on the first call
|
||||
)
|
||||
finally:
|
||||
is_posting = False
|
||||
@@ -338,7 +338,7 @@ def curate_from_reddit():
|
||||
pixabay_url=pixabay_url,
|
||||
interest_score=interest_score,
|
||||
post_id=post_id,
|
||||
post_tweet=False # Skip X tweet on the update call
|
||||
should_post_tweet=False # Skip X tweet on the update call
|
||||
)
|
||||
finally:
|
||||
is_posting = False
|
||||
|
||||
Reference in New Issue
Block a user