Use english title for MangaPill. Changed filename format.

This commit is contained in:
WilliamSoderberg committed 2026-03-12 14:18:32 +01:00 Verified
1 parent c6c4396f55
commit ec2740824a
2 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ from pathlib import Path
def zip_files(slug, chapter: dict, files: list[Path], save_dir: Path):
save_dir.joinpath(slug).mkdir(exist_ok=True)
filename = save_dir.joinpath(slug).joinpath(f"{slug} - Ch. {chapter.get('nr'):g}.cbz") # type: ignore
filename = save_dir.joinpath(slug).joinpath(f"{slug} Ch.{chapter.get('nr'):g}.cbz") # type: ignore
with zipfile.ZipFile(filename, "w") as zf:
for file in files:
zf.write(file, file.name)