From 8a1226d3913cb440feafb24c879e11ef2d1dc99d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 9 Oct 2019 18:24:16 +0100 Subject: [PATCH] Extra debug --- webinterface.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webinterface.py b/webinterface.py index 2cdf4d6a6..8aa556c8d 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1633,6 +1633,7 @@ def addEmojiToDisplayName(baseDir: str,httpPrefix: str, \ displayName=replaceEmojiFromTags(displayName,emojiTagsList,'post header') else: displayName=replaceEmojiFromTags(displayName,emojiTagsList,'profile') + print('TAG: displayName after tags 2: '+displayName) # remove any stray emoji while ':' in displayName: @@ -1641,6 +1642,7 @@ def addEmojiToDisplayName(baseDir: str,httpPrefix: str, \ break emojiStr=nameStr.split(':')[0] displayName=displayName.replace(':'+emojiStr+':','').strip() + print('TAG: displayName after tags 3: '+displayName) print('TAG: displayName after tag replacements: '+displayName) return displayName