diff options
-rw-r--r-- | support/inkscape/__main__.py | 2 |
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) |