From e717833d410a3a4a8c8df8a5b1a6c894e6419a4c Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Thu, 28 Jan 2021 17:01:00 -0800 Subject: [PATCH] Fix batch cards endpoint still referring to photo_card.html. --- .../etiquette_flask/backend/endpoints/photo_endpoints.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontends/etiquette_flask/backend/endpoints/photo_endpoints.py b/frontends/etiquette_flask/backend/endpoints/photo_endpoints.py index 9e558b8..978bf9f 100644 --- a/frontends/etiquette_flask/backend/endpoints/photo_endpoints.py +++ b/frontends/etiquette_flask/backend/endpoints/photo_endpoints.py @@ -242,10 +242,10 @@ def post_batch_photos_photo_cards(): # Photo filenames are prevented from having colons, so using it as a split # delimiter should be safe. template = ''' - {% import "photo_card.html" as photo_card %} + {% import "cards.html" as cards %} {% for photo in photos %} {{photo.id}}: - {{photo_card.create_photo_card(photo)}} + {{cards.create_photo_card(photo)}} :SPLITME: {% endfor %} '''