Skip to content

Commit e736116

Browse files
hoxellamrit110
andauthored
Check if values is none before iterating over it (#674)
Co-authored-by: Amrit Krishnan <[email protected]>
1 parent 7432f6d commit e736116

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cyclops/report/templates/model_report/macros.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<li>
2929
{{ values }}
3030
</li>
31-
{% else %}
31+
{% elif values is not none %}
3232
<li>
3333
{% for name, value in values %}
3434
{% if value %}

0 commit comments

Comments
 (0)