Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

StandalonePublisher: Fix thumbnail publishing #4029

Merged
merged 3 commits into from
Oct 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ def process(self, instance):
'files': filename,
"stagingDir": staging_dir,
"tags": ["thumbnail", "delete"],
"thumbnail": True
}
if width and height:
representation["width"] = width
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def process(self, instance):
first_thumbnail_component = None
first_thumbnail_component_repre = None

if has_movie_review:
if not review_representations or has_movie_review:
for repre in thumbnail_representations:
repre_path = self._get_repre_path(instance, repre, False)
if not repre_path:
Expand Down