[pp:ugoira] preserve 'extension' when using "mode": "archive" (#7304)

This commit is contained in:
Mike Fährmann
2025-04-11 16:33:11 +02:00
parent 9ce6de6ca0
commit a08c35ad79

View File

@@ -156,12 +156,7 @@ class UgoiraPP(PostProcessor):
return self.log.debug("", exc_info=exc)
if self.convert(pathfmt, tempdir):
if self.delete:
pathfmt.delete = True
elif pathfmt.extension != "zip":
self.log.info(pathfmt.filename)
pathfmt.set_extension("zip")
pathfmt.build_path()
pathfmt.delete = self.delete
def convert_from_files(self, pathfmt):
if not self._convert_files: