Add alias extension=ext, index1=index+1.

This commit is contained in:
voussoir 2020-12-05 14:44:50 -08:00
parent 013a3cf689
commit c9b05f60a4

View file

@ -59,6 +59,8 @@ def brename(transformation, autoyes=False, recurse=False):
# transformation string.
(noext, ext) = os.path.splitext(basename)
x = new
extension = ext
index1 = index + 1
new = eval(transformation)
new = os.path.join(directory, new)