Skip to content

Commit

Permalink
fix uppercase file format issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tahsinature committed Aug 19, 2023
1 parent 14140e3 commit 3ae44e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def select_files() -> list[str]:
filtered_data = map(lambda x: x.strip(), data.splitlines())
filtered_data = list(filter(lambda x: len(x) > 0, filtered_data))
filtered_data = list(filter(lambda x: x.split(
".")[-1] in allowed_extensions, filtered_data))
".")[-1].lower() in allowed_extensions, filtered_data))

os.remove(output_path)

Expand Down

0 comments on commit 3ae44e3

Please sign in to comment.