diff options
author | Matthew Lemon <y@yulqen.org> | 2024-08-01 19:38:07 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-08-01 19:38:07 +0100 |
commit | 55babe754a7dd7876d328b7a1c95c2d0def5b4f9 (patch) | |
tree | 99c5d87e02b159759ea323157519cc45c4361ca2 /pyblackbird_cc/resources | |
parent | a034bdd4f2a1fd665c606d2a75485abbfa627789 (diff) |
Fix: bug where thumbnail image filenames were not being saved on the resource object.
Diffstat (limited to 'pyblackbird_cc/resources')
-rw-r--r-- | pyblackbird_cc/resources/views.py | 1 |
1 files changed, 1 insertions, 0 deletions
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: |