From 0f025da06bd9f5a41830447d24db12d8f4b340a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deniz=20=C5=9Eafak?= Date: Sun, 6 Jul 2025 04:41:55 +0300 Subject: [PATCH] Fix "chapter_subtitle_path" error --- abogen/conversion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abogen/conversion.py b/abogen/conversion.py index a3a95ad..1e6b262 100644 --- a/abogen/conversion.py +++ b/abogen/conversion.py @@ -775,7 +775,7 @@ class ConversionThread(QThread): # Generate ASS subtitle is_centered = subtitle_format in ("ass_centered_wide", "ass_centered_narrow") is_narrow = subtitle_format in ("ass_narrow", "ass_centered_narrow") - self._write_ass_subtitle(chapter_subtitle_path, chapter_subtitle_entries, is_centered, is_narrow) + self._write_ass_subtitle(subtitle_path, subtitle_entries, is_centered, is_narrow) else: # Generate SRT subtitle (default) with open(subtitle_path, "w", encoding="utf-8", errors="replace") as srt_file: