diff options
Diffstat (limited to 'embroider.py')
| -rw-r--r-- | embroider.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/embroider.py b/embroider.py index 1c65ef4d..dfc7c7c9 100644 --- a/embroider.py +++ b/embroider.py @@ -1718,6 +1718,10 @@ class Embroider(inkex.Effect): if os.path.exists(source): move_if_exists(path, suffix + 1) + + if os.path.exists(dest): + os.remove(dest) + os.rename(source, dest) move_if_exists(output_path) |
