]> git.parisson.com Git - teleforma.git/commitdiff
bugfix
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 12 Jul 2017 23:59:29 +0000 (01:59 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 12 Jul 2017 23:59:29 +0000 (01:59 +0200)
teleforma/exam/models.py

index 42f45f000b215d919be85d3a4daadf6f91dff8ad..b40624897bbe86a8444b7dab8be66f3a15dcb71c 100644 (file)
@@ -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 :('