From 4c201b8094d0b1b0b482e5026908e01868da9ca3 Mon Sep 17 00:00:00 2001 From: Neshura <neshura@neshweb.net> Date: Tue, 18 Feb 2025 22:41:22 +0100 Subject: [PATCH] Fix of the Fix: close the EPUB file at the very end --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 664e4c7..97c6f6b 100644 --- a/main.go +++ b/main.go @@ -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":