From 0b1113d5036c2f2ac4bceedfd907fcbbfea6f08e Mon Sep 17 00:00:00 2001 From: Michael Schwarz Date: Thu, 6 Aug 2015 17:32:00 +0200 Subject: Inkscape export: Use original file name for temp file. Because we can. --- support/inkscape/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'support/inkscape') 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) -- cgit