From 08e7f9729afa198f5ebd0d63b209e5b2406ddb50 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 13 Jul 2017 01:59:29 +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