fix: create temp directory for subtitle API downloads

This commit is contained in:
jxxghp
2026-06-10 07:07:33 +08:00
parent c4602070b1
commit 829d7944b0
4 changed files with 93 additions and 109 deletions
+1
View File
@@ -148,6 +148,7 @@ class DownloadChain(ChainBase):
return []
saved_files = []
settings.TEMP_PATH.mkdir(parents=True, exist_ok=True)
temp_file = settings.TEMP_PATH / file_name
temp_extract_dir = temp_file.with_name(temp_file.stem)
try: