diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-10-09 07:12:15 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-10-09 07:13:58 +0300 |
commit | 95199dca1f12bd8bf2433047361b5ffde9cd879c (patch) | |
tree | dd16e3603990e88ea8d5cd0efff77427045423fd /release/scripts/startup/bl_operators/wm.py | |
parent | d77afcffa3971d5199541e2366571973c63237ed (diff) |
Fix T70662: Batch rename adds "\" before "."
Diffstat (limited to 'release/scripts/startup/bl_operators/wm.py')
-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 cb9af88f45f..905798b5155 100644 --- a/release/scripts/startup/bl_operators/wm.py +++ b/release/scripts/startup/bl_operators/wm.py @@ -2042,7 +2042,7 @@ class WM_OT_batch_rename(Operator): if action.use_replace_regex_dst: replace_dst = action.replace_dst else: - replace_dst = re.escape(action.replace_dst) + replace_dst = action.replace_dst.replace("\\", "\\\\") else: replace_src = re.escape(action.replace_src) replace_dst = re.escape(action.replace_dst) |