Skip to content

Commit d9768e2

Browse files
Merge pull request geekcomputers#87 from Henocks/patch-2
Update batch_file_rename.py
2 parents 8ae9934 + 8c5e726 commit d9768e2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

batch_file_rename.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ def main():
4040
# Set the variable work_dir with the first argument passed
4141
work_dir = sys.argv[1]
4242
# Set the variable old_ext with the second argument passed
43-
old_ext = sys.argv[2]
43+
old_ext = sys.argv[2]
4444
# Set the variable new_ext with the third argument passed
45-
new_ext = sys.argv[3]
45+
new_ext = sys.argv[3]
46+
4647
batch_rename(work_dir, old_ext, new_ext)
4748

4849

0 commit comments

Comments
 (0)