move sleep to do it for each message we send

Tamara Schmitz 2023-02-05 11:47:42 +01:00
parent 887acd0ade
commit 293e0956d9
Signed by: tamtaram
GPG Key ID: C2613AC6B3FA4686
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ if __name__ == '__main__':
for bot2 in bots:
bot2.post(user, status)
logger.info("Resent: %d %s %s" % (user.uid, status.author, status.text))
sleep(0.5)
sleep(0.5)
except Exception:
logger.error("Shutdown.", exc_info=True)
shutdown()