From 204f89d4dcbf290a16609d372e7557dd0277e526 Mon Sep 17 00:00:00 2001 From: Diana Huang Date: Wed, 20 Mar 2013 17:16:04 -0400 Subject: [PATCH] Make sure we are still showing the message when we are queued as well. --- 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 d5268fed89..2febfbd5d2 100644 --- a/common/lib/capa/capa/inputtypes.py +++ b/common/lib/capa/capa/inputtypes.py @@ -655,7 +655,7 @@ class MatlabInput(CodeInput): # Check if problem has been queued self.queuename = 'matlab' self.queue_msg = '' - if 'queue_msg' in self.input_state and self.status in ['incomplete', 'unsubmitted']: + if 'queue_msg' in self.input_state and self.status in ['queued','incomplete', 'unsubmitted']: self.queue_msg = self.input_state['queue_msg'] if 'queued' in self.input_state and self.input_state['queuestate'] is not None: self.status = 'queued'