From: Guillaume Pellerin Date: Wed, 12 Jul 2017 23:59:29 +0000 (+0200) Subject: bugfix X-Git-Tag: 1.2~36 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=08e7f9729afa198f5ebd0d63b209e5b2406ddb50;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 :('