X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;ds=inline;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Foutput%2FHtml.java;h=f81ea1dc5f643d20de832dcd96b48ec4070172ab;hb=198c7d1e0e5e0fd7777435a4742c39f75f00c63b;hp=ca802a50b60770c73d1ceef3388037a2222c1482;hpb=d3ab274f9152618a8bc21a0a20caed1a8520b224;p=nikiroo-utils.git diff --git a/src/be/nikiroo/fanfix/output/Html.java b/src/be/nikiroo/fanfix/output/Html.java index ca802a5..f81ea1d 100644 --- a/src/be/nikiroo/fanfix/output/Html.java +++ b/src/be/nikiroo/fanfix/output/Html.java @@ -50,8 +50,7 @@ class Html extends BasicOutput { .process(story, dir, targetNameOrig); if (story.getMeta().getCover() != null) { - Instance.getCache().saveAsImage(story.getMeta().getCover(), - new File(dir, "cover"), true); + Instance.getInstance().getCache().saveAsImage(story.getMeta().getCover(), new File(dir, "cover"), true); } return target; @@ -91,7 +90,7 @@ class Html extends BasicOutput { author = meta.getAuthor(); } - String format = Instance.getConfig() + String format = Instance.getInstance().getConfig() .getString(Config.FILE_FORMAT_IMAGE_FORMAT_COVER).toLowerCase(); InputStream inStyle = getClass().getResourceAsStream("html.style.css"); @@ -217,7 +216,7 @@ class Html extends BasicOutput { writer.write("