Fix of the Fix: close the EPUB file at the very end

This commit is contained in:
Neshura 2025-02-18 22:41:22 +01:00
parent 15503a27c3
commit 4c201b8094
Signed by: Neshura
GPG key ID: 4E2D47B1374C297D

View file

@ -437,10 +437,10 @@ func DownloadAndProcessEpub(jnovel jnc.Api, serie jnc.SerieAugmented, volume jnc
fmt.Println(err)
}
epub.Close()
newZip.Close()
newZipFile.Close()
}
epub.Close()
os.Remove(file)
}
case "novel":