X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Foutput%2FCbz.java;h=a84428c4f155d35273649ed8c550918b9606f12d;hb=925298fd058a953144058f8b70d939c2a3e7ea5b;hp=c70cc4123d3e05970d9a36ea29d0da089ecbb98c;hpb=2a25f7814eec9854022f1c9dee188bfbdb955591;p=nikiroo-utils.git diff --git a/src/be/nikiroo/fanfix/output/Cbz.java b/src/be/nikiroo/fanfix/output/Cbz.java index c70cc41..a84428c 100644 --- a/src/be/nikiroo/fanfix/output/Cbz.java +++ b/src/be/nikiroo/fanfix/output/Cbz.java @@ -26,8 +26,12 @@ class Cbz extends BasicOutput { dir.delete(); dir.mkdir(); try { - // will also save the images! - new InfoText().process(story, dir, targetNameOrig); + // will also save the images! (except the cover -> false) + BasicOutput + .getOutput(OutputType.TEXT, isWriteInfo(), isWriteCover()) + // Force cover to FALSE: + .setType(OutputType.TEXT, isWriteInfo(), false) + .process(story, dir, targetNameOrig); InfoCover.writeInfo(dir, targetNameOrig, story.getMeta()); if (story.getMeta() != null && !story.getMeta().isFakeCover()) {