diff --git a/src/speech2text.py b/src/speech2text.py index 508c378..cd3457d 100644 --- a/src/speech2text.py +++ b/src/speech2text.py @@ -346,7 +346,12 @@ def main(): pass else: # Given language not OK - pretty_language_list = ", ".join([f'{lang} ({short})' for lang, short in settings.supported_languages.items()]) + pretty_language_list = ", ".join( + [ + f"{lang} ({short})" + for lang, short in settings.supported_languages.items() + ] + ) logger.warning( f"Given language '{language}' not found among supported languages: {pretty_language_list}. Opting to detect language automatically" )