Fixed bug where CLI wouldn't run

Caused by wrong argument name parameter for run function
This commit is contained in:
Harrison Deng 2023-04-26 13:44:27 -05:00
parent 682503a24a
commit c6d79c9eb1

View File

@ -7,7 +7,7 @@ from renamebycsv.renamer import find_all_candidates, rename_by_csv
def run(args):
candidates = find_all_candidates(args.input_dir, args.regex, args.recursive)
candidates = find_all_candidates(args.input_dir, args.pattern, args.recursive)
rename_by_csv(
args.csv,
candidates,