From 3746d145ffe5af3f6173f81837cfe08c3cb055ff Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 1 Oct 2020 23:58:11 +0100 Subject: [PATCH] Capital --- webinterface.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/webinterface.py b/webinterface.py index a6af87c17..6259683d7 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5198,14 +5198,13 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str, '

' + \ lineStr + '

\n' else: - if lineStr: - if lineStr.startswith('#') or lineStr.startswith('*'): - linestr = lineStr[1:].strip() - htmlStr += \ - '
' + lineStr + '
\n' - else: - htmlStr += \ - '

' + lineStr + '

\n' + if lineStr.startswith('#') or lineStr.startswith('*'): + lineStr = lineStr[1:].strip() + htmlStr += \ + '
' + lineStr + '
\n' + else: + htmlStr += \ + '

' + lineStr + '

\n' return htmlStr