[FastAPI] bugfix: remove use of scalar() in plural context

Anything where we can have more than one of something, scalar()
cannot be used.

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-08-17 20:58:41 -07:00
parent d9cdd5faef
commit 469c141f6b

View file

@ -49,7 +49,7 @@
</div> </div>
{% endif %} {% endif %}
{% if comments.scalar() %} {% if comments %}
<div class="comments package-comments"> <div class="comments package-comments">
<div class="comments-header"> <div class="comments-header">
<h3> <h3>