Fixed bug where CLI wouldn't run
Caused by wrong argument name parameter for run function
This commit is contained in:
parent
682503a24a
commit
c6d79c9eb1
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user