Skip to content

Commit

Permalink
fix #70
Browse files Browse the repository at this point in the history
  • Loading branch information
olawalejuwonm authored Oct 15, 2024
1 parent 6401f3d commit 717830d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/main_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def _prepare_for_file_transcription(self, file_path: Path) -> None:
for transcription.
:return: None
"""
is_file_supported = file_path.suffix in c.SUPPORTED_FILE_EXTENSIONS
is_file_supported = file_path.suffix.lower() in c.SUPPORTED_FILE_EXTENSIONS
if file_path.is_file() and is_file_supported:
self.transcription.audio_source_path = file_path
else:
Expand Down

0 comments on commit 717830d

Please sign in to comment.