Fix detect language flow for non-bazarr

This commit is contained in:
McCloudS
2024-12-12 15:00:42 -07:00
committed by GitHub
parent 7f7b7364e5
commit 0c7dcc8093

View File

@@ -131,7 +131,7 @@ def transcription_worker():
if "type" in task and task["type"] == "detect_language":
detect_language_task(task['path'])
if 'Bazarr-' in task['path']:
elif 'Bazarr-' in task['path']:
logging.info(f"Task {task['path']} is being handled by ASR.")
else:
logging.info(f"Task {task['path']} is being handled by Subgen.")