From 74d5d3756de9df66ee94a5465dec2edd5c0494e6 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Fri, 15 Jan 2021 14:11:50 -0800 Subject: [PATCH] Fix inputrename. --- inputrename.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inputrename.py b/inputrename.py index 1ad7bb4..dfdd22e 100644 --- a/inputrename.py +++ b/inputrename.py @@ -14,7 +14,7 @@ def inputrename_argparse(args): if args.recurse: files = (file for file in spinal.walk_generator('.') if args.keyword in file.basename) 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 for file in files: print(file.relative_path)