From: Guillaume Pellerin Date: Fri, 18 Jul 2014 10:34:09 +0000 (+0200) Subject: 3s loop X-Git-Tag: 1.1~404 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=b17bf1d5d9e81a9a7a64622d53a2296e05b716de;p=teleforma.git 3s loop --- diff --git a/teleforma/exam/models.py b/teleforma/exam/models.py index f6dc6703..05659856 100644 --- a/teleforma/exam/models.py +++ b/teleforma/exam/models.py @@ -306,7 +306,7 @@ class Script(BaseResource): if statuses[0]['status'] == 'DONE': break else: - time.sleep(1) + time.sleep(3) else: print ' File #1 failed :(' print ' Error Message: ' + statuses[0]['error']