Make sure we are still showing the

message when we are queued as well.
This commit is contained in:
Diana Huang
2013-03-20 17:16:04 -04:00
parent af1af8c6d1
commit 204f89d4dc

View File

@@ -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'