diff options
| author | Lex Neva <github.com@lexneva.name> | 2018-06-13 12:53:05 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2018-06-15 21:44:52 -0400 |
| commit | f9a5e4c03a073d403222f0d5b7810cdaab90145a (patch) | |
| tree | 2b314484261d3bae07637fde7f5e2a8ffc38ca9f | |
| parent | ea1135c1451ab2db54fd52fbf48a8eee9c5a43e0 (diff) | |
remove tmp directory from zip file paths
| -rw-r--r-- | lib/extensions/zip.py | 2 |
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 |
