From fc3b7b0bd4941cbe69c96075e492c371e3821308 Mon Sep 17 00:00:00 2001 From: McCloudS Date: Thu, 28 Aug 2025 19:52:37 -0400 Subject: [PATCH] Update subgen.py --- subgen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subgen.py b/subgen.py index 10b842b..e90c00b 100644 --- a/subgen.py +++ b/subgen.py @@ -1,4 +1,4 @@ -subgen_version = '2025.08.7' +subgen_version = '2025.08.8' """ ENVIRONMENT VARIABLES DOCUMENTATION @@ -537,7 +537,7 @@ async def asr( word_timestamps: bool = Query(default=False, description="Word-level timestamps"), # Not used by Bazarr ): try: - logging.info(f"Transcribing file '{video_file}' from Bazarr/ASR webhook" if video_file else "Transcribing file from Bazarr/ASR webhook") + logging.info(f"{task.capitalize()} of file '{video_file}' from Bazarr/ASR webhook" if video_file else "{task.capitalize()} of file from Bazarr/ASR webhook") result = None random_name = ''.join(random.choices("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890", k=6))