Skip to content

Commit

Permalink
Check if values is none before iterating over it (#674)
Browse files Browse the repository at this point in the history
Co-authored-by: Amrit Krishnan <[email protected]>
  • Loading branch information
hoxell and amrit110 authored Sep 4, 2024
1 parent 7432f6d commit e736116
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 e736116

Please sign in to comment.