From 273956c3e84a4182e94ed96b3e2990b5a0354a25 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 19 Aug 2019 12:11:31 +0100 Subject: [PATCH] Tidying --- content.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content.py b/content.py index 9095e509..d5a46178 100644 --- a/content.py +++ b/content.py @@ -156,9 +156,9 @@ def addHtmlTags(baseDir: str,httpPrefix: str, \ wordStr=words[wordIndex] if wordStr.endswith('.'): if not wordStr.startswith('@'): - words[wordIndex]=words[wordIndex][:-1] + words[wordIndex]=wordStr[:-1] if wordStr.startswith('.'): - words[wordIndex]=words[wordIndex][1:] + words[wordIndex]=wordStr[1:] replaceMentions={} replaceHashTags={} replaceEmoji={}