From 55babe754a7dd7876d328b7a1c95c2d0def5b4f9 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Thu, 1 Aug 2024 19:38:07 +0100 Subject: Fix: bug where thumbnail image filenames were not being saved on the resource object. --- pyblackbird_cc/resources/views.py | 1 + 1 file changed, 1 insertion(+) (limited to 'pyblackbird_cc/resources/views.py') diff --git a/pyblackbird_cc/resources/views.py b/pyblackbird_cc/resources/views.py index d8847b1..bb0187f 100644 --- a/pyblackbird_cc/resources/views.py +++ b/pyblackbird_cc/resources/views.py @@ -294,6 +294,7 @@ def create_resource(request): snapshotted_pages.append(snapshot_images) resource.thumbnail_filenames = [f.name for f in thumbnail_files] + resource.save() # Reset the file pointers for pdf_files for pdf_file in pdf_files: -- cgit v1.2.3