Don't display 'None points' on problem rendering

This commit is contained in:
kimth
2012-08-15 17:14:27 -04:00
parent be1b063805
commit 3519ea6b2f

View File

@@ -1,7 +1,7 @@
<%namespace name='static' file='static_content.html'/>
<h2 class="problem-header">
${ problem['name'] }
% if problem['weight'] != 1:
% if problem['weight'] != 1 and problem['weight'] != None:
: ${ problem['weight'] } points
% endif
</h2>