Fix detect language flow for non-bazarr
This commit is contained in:
@@ -131,7 +131,7 @@ def transcription_worker():
|
|||||||
|
|
||||||
if "type" in task and task["type"] == "detect_language":
|
if "type" in task and task["type"] == "detect_language":
|
||||||
detect_language_task(task['path'])
|
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.")
|
logging.info(f"Task {task['path']} is being handled by ASR.")
|
||||||
else:
|
else:
|
||||||
logging.info(f"Task {task['path']} is being handled by Subgen.")
|
logging.info(f"Task {task['path']} is being handled by Subgen.")
|
||||||
|
|||||||
Reference in New Issue
Block a user