Commit 4468fee8 by kimth

Define dateformat variable in xqueue_interface

parent 98542f79
......@@ -205,7 +205,7 @@ class LoncapaProblem(object):
'''
Returns True if any part of the problem has been submitted to an external queue
'''
return any([self.correct_map.is_queued(answer_id) for answer_id in self.correct_map])
return any(self.correct_map.is_queued(answer_id) for answer_id in self.correct_map)
def get_recentmost_queuetime(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment