mirror of https://gitlab.com/bashrc2/epicyon
Check that emoji dict was loaded
parent
3a31230f9c
commit
570937d8f7
|
@ -904,8 +904,9 @@ def addHtmlTags(baseDir: str, httpPrefix: str,
|
||||||
if os.path.isfile(baseDir + '/emojicustom/emoji.json'):
|
if os.path.isfile(baseDir + '/emojicustom/emoji.json'):
|
||||||
customEmojiDict = \
|
customEmojiDict = \
|
||||||
loadJson(baseDir + '/emojicustom/emoji.json')
|
loadJson(baseDir + '/emojicustom/emoji.json')
|
||||||
emojiDict = \
|
if customEmojiDict:
|
||||||
dict(emojiDict.items() + customEmojiDict.items())
|
emojiDict = \
|
||||||
|
dict(emojiDict.items() + customEmojiDict.items())
|
||||||
|
|
||||||
# print('TAG: looking up emoji for :' + wordStr2 + ':')
|
# print('TAG: looking up emoji for :' + wordStr2 + ':')
|
||||||
_addEmoji(baseDir, ':' + wordStr2 + ':', httpPrefix,
|
_addEmoji(baseDir, ':' + wordStr2 + ':', httpPrefix,
|
||||||
|
|
Loading…
Reference in New Issue