summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/extensions/zip.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/extensions/zip.py b/lib/extensions/zip.py
index 4720ad1e..a7616536 100644
--- a/lib/extensions/zip.py
+++ b/lib/extensions/zip.py
@@ -64,7 +64,7 @@ class Zip(InkstitchExtension):
with ZipFile(temp_file.name, "w") as zip_file:
for file in files:
- zip_file.write(file)
+ zip_file.write(file, os.path.basename(file))
# inkscape will read the file contents from stdout and copy
# to the destination file that the user chose