Fix inputrename.
This commit is contained in:
parent
82fbb92ea0
commit
74d5d3756d
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ def inputrename_argparse(args):
|
||||||
if args.recurse:
|
if args.recurse:
|
||||||
files = (file for file in spinal.walk_generator('.') if args.keyword in file.basename)
|
files = (file for file in spinal.walk_generator('.') if args.keyword in file.basename)
|
||||||
else:
|
else:
|
||||||
files = (file for file in pathclass.cwd().listdir() if args.keyword in file)
|
files = (file for file in pathclass.cwd().listdir() if args.keyword in file.basename)
|
||||||
prev = None
|
prev = None
|
||||||
for file in files:
|
for file in files:
|
||||||
print(file.relative_path)
|
print(file.relative_path)
|
||||||
|
|
Loading…
Reference in a new issue