From 3f8fedeb765ea5ff19058653a54139388b2600e6 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 2 Oct 2020 11:43:47 +0100 Subject: [PATCH] Simplify --- webinterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webinterface.py b/webinterface.py index 8d06ce2a5..06faeb502 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5183,7 +5183,7 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str, continue if word == '*': continue - if '://' in word or word.endswith('.html'): + if '://' in word: linkStr = word break if linkStr: