diff --git a/src/controllers/main_controller.py b/src/controllers/main_controller.py index 46d9232..3d90371 100644 --- a/src/controllers/main_controller.py +++ b/src/controllers/main_controller.py @@ -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: