1
0
mirror of https://github.com/ciromattia/kcc synced 2026-07-11 15:33:17 +00:00

Rename 'cover.jpg' file to '##cover.jpg' (#1383)

This commit is contained in:
Aldijonas
2026-07-05 16:34:26 +02:00
committed by GitHub
parent c3f86e29c8
commit 077957e665
+1 -1
View File
@@ -1904,7 +1904,7 @@ def makeBook(source, qtgui=None, job_progress=''):
else:
filepath.append(getOutputFilename(source, options.output, '.cbz', ''))
if cover and cover.smartcover:
cover.save_to_folder(os.path.join(tome, 'OEBPS', 'Images', '!cover.jpg'), tomeNumber, len(tomes))
cover.save_to_folder(os.path.join(tome, 'OEBPS', 'Images', '##cover.jpg'), tomeNumber, len(tomes))
makeZIP(filepath[-1], os.path.join(tome, "OEBPS", "Images"), job_progress)
elif options.format == 'PDF':
print(f"{job_progress}Creating PDF file with PyMuPDF...")