mirror of
https://gitlab.com/2-chainz/2-chainz-rest.git
synced 2025-08-05 04:51:28 +00:00
bandaid to keep bot from sending 10 tweets
This commit is contained in:
@@ -25,6 +25,7 @@ def main(mytimer: func.TimerRequest) -> None:
|
|||||||
|
|
||||||
api.update_status(status=f"{quote} - {alias}\n")
|
api.update_status(status=f"{quote} - {alias}\n")
|
||||||
tweeted = True
|
tweeted = True
|
||||||
|
tries += 10
|
||||||
except TweepError:
|
except TweepError:
|
||||||
tries += 1
|
tries += 1
|
||||||
logging.warning(f"{quote} - {alias} - Has already been tweeted")
|
logging.warning(f"{quote} - {alias} - Has already been tweeted")
|
||||||
|
Reference in New Issue
Block a user