move sleep to do it for each message we send

This commit is contained in:
Tamara Schmitz 2023-02-05 11:47:42 +01:00
parent 887acd0ade
commit 293e0956d9
Signed by: tamtaram
GPG key ID: C2613AC6B3FA4686

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()