Skip to content

Commit 6493516

Browse files
committed
Fix epub converter
1 parent 798c2a6 commit 6493516

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/kodedu/service/convert/ebook/EpubConverter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ private Path produceEpub3(boolean askPath, boolean isTemp) {
160160
logger.error("Problem occured while zipping mimetype");
161161
}
162162

163-
try (FileSystem zipfs = FileSystems.newFileSystem(epubPath,Collections.emptyMap())) {
163+
try (FileSystem zipfs = FileSystems.newFileSystem(epubOut, Collections.emptyMap())) {
164164
iterativelyPackDir(epubTemp.resolve("OEBPS"), epubTemp, zipfs);
165165
iterativelyPackDir(epubTemp.resolve("META-INF"), epubTemp, zipfs);
166166
} catch (IOException e) {

0 commit comments

Comments
 (0)