mirror of
https://github.com/Dasemu/Transcriptarr.git
synced 2026-11-27 23:46:08 +00:00
Fix detect language flow for non-bazarr
This commit is contained in:
1 parent
7f7b7364e5
commit
0c7dcc8093
1 file changed
+1
-1
@@ -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.")
|
||||
|
||||
Reference in new issue
Block a user