]> git.parisson.com Git - teleforma.git/commitdiff
bugfix 1.1
authorGuillaume Pellerin <yomguy@parisson.com>
Wed, 19 Jul 2017 12:05:38 +0000 (14:05 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Wed, 19 Jul 2017 12:05:38 +0000 (14:05 +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 :('