Fix of the Fix: close the EPUB file at the very end
This commit is contained in:
parent
15503a27c3
commit
4c201b8094
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -437,10 +437,10 @@ func DownloadAndProcessEpub(jnovel jnc.Api, serie jnc.SerieAugmented, volume jnc
|
||||||
fmt.Println(err)
|
fmt.Println(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
epub.Close()
|
|
||||||
newZip.Close()
|
newZip.Close()
|
||||||
newZipFile.Close()
|
newZipFile.Close()
|
||||||
}
|
}
|
||||||
|
epub.Close()
|
||||||
os.Remove(file)
|
os.Remove(file)
|
||||||
}
|
}
|
||||||
case "novel":
|
case "novel":
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue