diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-11-03 03:27:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-11-03 03:28:49 +0300 |
commit | 93f93e6b45581659b0622f47526d538bdbd6ef33 (patch) | |
tree | c33a00fa7eb15679f7bece1637344021b11d39ec /release | |
parent | 07968604ab190156bd0c931865bd133abd3bf745 (diff) |
Fix T71284: batch rename escape's dashes
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_operators/wm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py index e7989bec227..6b3b9adb52b 100644 --- a/release/scripts/startup/bl_operators/wm.py +++ b/release/scripts/startup/bl_operators/wm.py @@ -2041,7 +2041,7 @@ class WM_OT_batch_rename(Operator): replace_dst = action.replace_dst.replace("\\", "\\\\") else: replace_src = re.escape(action.replace_src) - replace_dst = re.escape(action.replace_dst) + replace_dst = action.replace_dst.replace("\\", "\\\\") name = re.sub( replace_src, replace_dst, |