Update for pathclass.Extension changes.
This commit is contained in:
parent
a5c8887f47
commit
d5cd12000d
1 changed files with 1 additions and 3 deletions
|
@ -67,9 +67,7 @@ def fileprefix(
|
|||
rename_pairs = []
|
||||
|
||||
for (index, filepath) in enumerate(filepaths):
|
||||
extension = filepath.extension
|
||||
if extension != '':
|
||||
extension = '.' + extension
|
||||
extension = filepath.extension.with_dot
|
||||
|
||||
newname = format.format(prefix=prefix, index=index, extension=extension)
|
||||
if filepath.basename != newname:
|
||||
|
|
Loading…
Reference in a new issue