[postprocessor:zip] fix archive names (closes #397)

Remove the trailing path separator introduced in 3284c62 before
adding the archive's filename extension.

[ci skip]
deviantart-rewrite
Mike Fährmann 5 years ago
parent 7c09545f70
commit 60c8e090da
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -34,7 +34,7 @@ class ZipPP(PostProcessor):
algorithm = "store" algorithm = "store"
self.path = pathfmt.realdirectory self.path = pathfmt.realdirectory
args = (self.path + ext, "a", args = (self.path[:-1] + ext, "a",
self.COMPRESSION_ALGORITHMS[algorithm], True) self.COMPRESSION_ALGORITHMS[algorithm], True)
if options.get("mode") == "safe": if options.get("mode") == "safe":

Loading…
Cancel
Save