Use more specific condition to avoid case-change misses.
This commit is contained in:
parent
ab54a750d0
commit
bf7af04a6f
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ def brename(transformation, autoyes=False, do_naturalsort=False, recurse=False):
|
||||||
|
|
||||||
new = eval(transformation)
|
new = eval(transformation)
|
||||||
new = parent.with_child(new)
|
new = parent.with_child(new)
|
||||||
if new == old:
|
if new.basename == old.basename:
|
||||||
continue
|
continue
|
||||||
pairs.append((old, new))
|
pairs.append((old, new))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue