combine audiobooks: move temp dir
This commit is contained in:
1 parent
fc9a2dcf0e
commit
86679e4e18
1 file changed
+1
-1
@@ -55,7 +55,7 @@ def create_m4b(root_path: Path, book_dir: Path) -> None:
|
||||
|
||||
log_message(f"[CREATE] {output_file_final}")
|
||||
|
||||
with (tempfile.TemporaryDirectory() as tmp):
|
||||
with (tempfile.TemporaryDirectory(dir=root_path.parent) as tmp):
|
||||
tmpdir = Path(tmp)
|
||||
|
||||
output_file_tmp = tmpdir / f"{book_dir.name}.m4b"
|
||||
|
||||
Reference in new issue
Block a user