Use more specific condition to avoid case-change misses.

This commit is contained in:
voussoir 2021-01-13 17:45:04 -08:00
parent ab54a750d0
commit bf7af04a6f

View file

@ -79,7 +79,7 @@ def brename(transformation, autoyes=False, do_naturalsort=False, recurse=False):
new = eval(transformation)
new = parent.with_child(new)
if new == old:
if new.basename == old.basename:
continue
pairs.append((old, new))