[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:
@@ -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":
|
||||||
|
|||||||
Reference in New Issue
Block a user