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

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

[ci skip]
This commit is contained in:
Mike Fährmann
2019-08-24 23:07:12 +02:00
parent 7c09545f70
commit 60c8e090da

View File

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