summaryrefslogtreecommitdiffstats
path: root/gallery_dl/postprocessor/zip.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2019-08-31 19:59:31 -0400
committerLibravatarUnit 193 <unit193@ubuntu.com>2019-08-31 19:59:31 -0400
commit01b2d06c57d52b2c6f241b1beb0e377ee3a8b2a6 (patch)
tree8bd4f4b1b36c1a531829e150394ffffd25e1ccdb /gallery_dl/postprocessor/zip.py
parentb75d158d014d6c43d7d785c46c9372a9cf84d144 (diff)
New upstream version 1.10.3upstream/1.10.3
Diffstat (limited to 'gallery_dl/postprocessor/zip.py')
-rw-r--r--gallery_dl/postprocessor/zip.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/postprocessor/zip.py b/gallery_dl/postprocessor/zip.py
index 1075c70..6659a8d 100644
--- a/gallery_dl/postprocessor/zip.py
+++ b/gallery_dl/postprocessor/zip.py
@@ -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":