Skip to content

Commit

Permalink
Check if values is none before iterating over it
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxell committed Aug 16, 2024
1 parent 332898e commit 67066f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cyclops/report/templates/model_report/macros.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<li>
{{ values }}
</li>
{% else %}
{% elif values is not none %}
<li>
{% for name, value in values %}
{% if value %}
Expand Down

0 comments on commit 67066f0

Please sign in to comment.