1
0
mirror of https://gitlab.com/2-chainz/2-chainz-rest.git synced 2025-08-03 03:51:24 +00:00

bandaid to keep bot from sending 10 tweets

This commit is contained in:
2020-04-21 17:30:08 -07:00
parent 6118d04843
commit 9f3aa38b6a

View File

@@ -25,6 +25,7 @@ def main(mytimer: func.TimerRequest) -> None:
api.update_status(status=f"{quote} - {alias}\n")
tweeted = True
tries += 10
except TweepError:
tries += 1
logging.warning(f"{quote} - {alias} - Has already been tweeted")