From a5e4f89d5068364097bf775daa673e4069e63a8b Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Sat, 23 May 2020 21:24:12 +0200 Subject: [PATCH] Fixed a typo --- nw/core/tohtml.py | 2 +- nw/gui/build.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nw/core/tohtml.py b/nw/core/tohtml.py index ba099335..53503ba5 100644 --- a/nw/core/tohtml.py +++ b/nw/core/tohtml.py @@ -241,7 +241,7 @@ class ToHtml(Tokenizer): return - def getStylesheet(self): + def getStyleSheet(self): """Generate a stylesheet appropriate for the current settings. """ theStyles = [] diff --git a/nw/gui/build.py b/nw/gui/build.py index 1bf268eb..50f51395 100644 --- a/nw/gui/build.py +++ b/nw/gui/build.py @@ -351,7 +351,7 @@ class GuiBuildNovel(QDialog): tEnd = time() logger.debug("Built project in %.3f ms" % (1000*(tEnd-tStart))) - self.htmlStyle = makeHtml.getStylesheet() + self.htmlStyle = makeHtml.getStyleSheet() # Load the preview document with the html data self.docView.setStyleSheet(self.htmlStyle)