Skip to content

Commit

Permalink
ignores folders
Browse files Browse the repository at this point in the history
  • Loading branch information
bgorman87 committed Oct 21, 2023
1 parent 8506c8e commit cd96353
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test_file_renamer.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

for file_name in os.listdir(test_files_folder):
if "pdf" not in file_name[-4:].lower():
continue
os.remove(os.path.join(test_files_folder , file_name))
else:
while True:
Expand Down

0 comments on commit cd96353

Please sign in to comment.