From cf2402aee9dc749c5bf8eb1a2a56185de7d597b7 Mon Sep 17 00:00:00 2001 From: Victor Shnayder Date: Wed, 31 Oct 2012 18:17:12 -0400 Subject: [PATCH] bugfix: always set queue len --- common/lib/capa/capa/inputtypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/capa/capa/inputtypes.py b/common/lib/capa/capa/inputtypes.py index d47c5a3006..de29b5e664 100644 --- a/common/lib/capa/capa/inputtypes.py +++ b/common/lib/capa/capa/inputtypes.py @@ -396,7 +396,7 @@ class FileSubmission(InputTypeBase): self.required_files = saxutils.escape(self.required_files, escapedict) # Check if problem has been queued - queue_len = 0 + self.queue_len = 0 # Flag indicating that the problem has been queued, 'msg' is length of queue if self.status == 'incomplete': self.status = 'queued'