Fix cbz image name format
This commit is contained in:
parent
cfaec3a4fd
commit
15503a27c3
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -419,7 +419,7 @@ func DownloadAndProcessEpub(jnovel jnc.Api, serie jnc.SerieAugmented, volume jnc
|
|||
})
|
||||
|
||||
imageFile := epub.File[imageFileIndex]
|
||||
fileName := fmt.Sprintf("%020s", chapterPageIndex+1) + "." + strings.Split(iParts[len(iParts)-1], ".")[1]
|
||||
fileName := fmt.Sprintf("%02d", chapterPageIndex+1) + "." + strings.Split(iParts[len(iParts)-1], ".")[1]
|
||||
|
||||
err = addFileToZip(newZip, imageFile, fileName)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Reference in a new issue