Add alias extension=ext, index1=index+1.
This commit is contained in:
parent
013a3cf689
commit
c9b05f60a4
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue