Extra debug

main2
Bob Mottram 2019-10-09 18:24:16 +01:00
parent fe2b4e7156
commit 8a1226d391
1 changed files with 2 additions and 0 deletions

View File

@ -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