main2
Bob Mottram 2019-10-09 19:26:54 +01:00
parent 30dfa77774
commit ffd290b681
1 changed files with 2 additions and 0 deletions

View File

@ -311,8 +311,10 @@ def addHtmlTags(baseDir: str,httpPrefix: str, \
if ':' in wordStr:
print('TAG: emoji located - '+wordStr)
wordStr2=wordStr.split(':')[1]
print('TAG: wordStr2a - '+wordStr2)
if ':' in wordStr2:
wordStr2=wordStr2.split(':')[0]
print('TAG: wordStr2b - '+wordStr2)
if not emojiDict:
print('Loading emoji lookup')
if not os.path.isfile(baseDir+'/emoji/emoji.json'):