Define dateformat variable in xqueue_interface

This commit is contained in:
kimth
2012-08-27 19:15:28 -04:00
parent 98542f79ec
commit 4468fee8e5

View File

@@ -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):