summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Schwarz <michi.schwarz@gmail.com>2015-08-06 17:32:00 +0200
committerMichael Schwarz <michi.schwarz@gmail.com>2015-08-07 02:03:20 +0200
commit0b1113d5036c2f2ac4bceedfd907fcbbfea6f08e (patch)
tree3fc7da732033ac8b8a892f29ad0fa994c4356f04
parent4a103f6dba4c20ef13475e553d6a6f5328a7f340 (diff)
downloadpogojig-0b1113d5036c2f2ac4bceedfd907fcbbfea6f08e.tar.gz
pogojig-0b1113d5036c2f2ac4bceedfd907fcbbfea6f08e.tar.bz2
pogojig-0b1113d5036c2f2ac4bceedfd907fcbbfea6f08e.zip
Inkscape export: Use original file name for temp file.
Because we can.
-rw-r--r--support/inkscape/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/inkscape/__main__.py b/support/inkscape/__main__.py
index ff23cc3..03f6689 100644
--- a/support/inkscape/__main__.py
+++ b/support/inkscape/__main__.py
@@ -40,7 +40,7 @@ def main(in_path, out_path):
_, out_suffix = os.path.splitext(out_path)
with util.TemporaryDirectory() as temp_dir:
- temp_svg_path = os.path.join(temp_dir, 'temp.svg')
+ temp_svg_path = os.path.join(temp_dir, os.path.basename(in_path))
shutil.copyfile(in_path, temp_svg_path)