Small fixes for epub:
[fanfix.git] / src / be / nikiroo / fanfix / library / BasicLibrary.java
index 9ac16ea2a45ba16e058d81f6d950b85e54bc8ea6..de3dbb64890dd53df4bad285c198693e8f061348 100644 (file)
@@ -338,7 +338,7 @@ abstract public class BasicLibrary {
                        pg.addProgress(pgOut, 1);
                }
 
-               BasicOutput out = BasicOutput.getOutput(type, true);
+               BasicOutput out = BasicOutput.getOutput(type, false);
                if (out == null) {
                        throw new IOException("Output type not supported: " + type);
                }
@@ -401,6 +401,7 @@ abstract public class BasicLibrary {
                if (getInfo(luid) != null) {
                        delete(luid);
                }
+               
                doSave(story, pg);
 
                clearCache();