Inkscape export: Use original file name for temp file.
Because we can.
This commit is contained in:
parent
4a103f6dba
commit
0b1113d503
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue