move sleep to do it for each message we send
parent
a94afbaecf
commit
d698bb2ed0
|
@ -40,6 +40,7 @@ if __name__ == '__main__':
|
|||
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()
|
||||
|
|
Loading…
Reference in New Issue