diff --git a/nw/gui/about.py b/nw/gui/about.py index 02f9fa39..6a25af89 100644 --- a/nw/gui/about.py +++ b/nw/gui/about.py @@ -146,9 +146,9 @@ class GuiAbout(QDialog): aboutMsg += ( "

Theme: {name:s}

" "

" - "Author: {author:s}
" - "Credit: {credit:s}
" - "License: {license:s}" + "Author: {author:s}
" + "Credit: {credit:s}
" + "License: {license:s}" "

" ).format( name = theTheme.themeName, @@ -161,9 +161,9 @@ class GuiAbout(QDialog): aboutMsg += ( "

Icons: {name:s}

" "

" - "Author: {author:s}
" - "Credit: {credit:s}
" - "License: {license:s}" + "Author: {author:s}
" + "Credit: {credit:s}
" + "License: {license:s}" "

" ).format( name = theIcons.themeName, @@ -176,9 +176,9 @@ class GuiAbout(QDialog): aboutMsg += ( "

Syntax: {name:s}

" "

" - "Author: {author:s}
" - "Credit: {credit:s}
" - "License: {license:s}" + "Author: {author:s}
" + "Credit: {credit:s}
" + "License: {license:s}" "

" ).format( name = theTheme.syntaxName, diff --git a/nw/gui/doceditor.py b/nw/gui/doceditor.py index 2ec72b62..b53183de 100644 --- a/nw/gui/doceditor.py +++ b/nw/gui/doceditor.py @@ -962,8 +962,9 @@ class GuiDocEditor(QTextEdit): if theSize > self.mainConf.bigDocLimit*1000: logger.info( "The document size is %d > %d, big doc mode is enabled" % ( - theSize, self.mainConf.bigDocLimit*1000 - )) + theSize, self.mainConf.bigDocLimit*1000 + ) + ) self.bigDoc = True else: self.bigDoc = False