Fix inputrename.

This commit is contained in:
voussoir 2021-01-15 14:11:50 -08:00
parent 82fbb92ea0
commit 74d5d3756d

View file

@ -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)