diff --git a/common/lib/capa/capa/capa_problem.py b/common/lib/capa/capa/capa_problem.py index 9dc7658884..3a847f8306 100644 --- a/common/lib/capa/capa/capa_problem.py +++ b/common/lib/capa/capa/capa_problem.py @@ -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):