Minor Code Refactor

LEARNER-2653
Jenkins translation job pybabel process
was not able to interpret this line
and causing syntax error.
This commit is contained in:
ayub-khan
2017-11-13 17:57:14 +05:00
parent 79af4c9bc2
commit e0d96abf1c

View File

@@ -22,7 +22,7 @@
% for option in options:
<li>
% if has_options_value:
% if all([c == status.classname for c in option['choice'], status]):
% if all(c == status.classname for c in (option['choice'], status)):
<span class="tag-status ${status.classname}" aria-describedby="input_${id}_comment">
<%include file="status_span.html" args="status=status"/>
</span>