mirror of
https://github.com/Dasemu/Transcriptarr.git
synced 2026-11-27 15:36:08 +00:00
Fixed being an idiot trying to use break outside of a loop
This commit is contained in:
1 parent
508ff442ad
commit
c8198775a6
1 file changed
+1
-1
@@ -547,7 +547,7 @@ def gen_subtitles(file_path: str, transcription_type: str, force_language=None)
|
||||
start_model()
|
||||
|
||||
if force_language:
|
||||
break
|
||||
logging.info(f"Forcing language to {force_language}")
|
||||
elif force_detected_language_to:
|
||||
force_language = force_detected_language_to
|
||||
logging.info(f"Forcing language to {force_language}")
|
||||
|
||||
Reference in new issue
Block a user