From f065afaa4bb1702c51b65479a2f02868c658f758 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Wed, 19 Jul 2017 14:05:38 +0200 Subject: [PATCH] bugfix --- teleforma/exam/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 :(' -- 2.39.5