Dont change thumbnail extraction

This commit is contained in:
Toke Stuart Jepsen 2023-07-03 12:10:39 +01:00
parent 8492491f83
commit a6727800a3

View file

@ -92,8 +92,6 @@ class ExtractThumbnail(publish.Extractor):
"Create temp directory {} for thumbnail".format(dst_staging)
)
# Store new staging to cleanup paths
if not instance.data.get("stagingDir_persistent", False):
instance.context.data["cleanupFullPaths"].append(dst_staging)
filename = "{0}".format(instance.name)
path = os.path.join(dst_staging, filename)