From: Guillaume Pellerin Date: Wed, 19 Jul 2017 12:05:38 +0000 (+0200) Subject: bugfix X-Git-Tag: 1.1 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=f065afaa4bb1702c51b65479a2f02868c658f758;p=teleforma.git bugfix --- diff --git a/teleforma/exam/models.py b/teleforma/exam/models.py index 42f45f00..b4062489 100644 --- a/teleforma/exam/models.py +++ b/teleforma/exam/models.py @@ -375,7 +375,7 @@ class Script(BaseResource): else: loop += 1 time.sleep(sleep) - if loop => max_loop: + if loop > max_loop: break else: print 'File upload failed :('