Combine emoji sets one by one

main
Bob Mottram 2022-01-30 18:08:37 +00:00
parent f896bef6c6
commit d179b1749a
1 changed files with 3 additions and 4 deletions

View File

@ -946,10 +946,9 @@ def add_html_tags(base_dir: str, http_prefix: str,
emojis_combined = False
if not emojis_combined:
# combine emoji dicts one by one
for emoji_name, emoji_item in \
custom_emoji_dict.items():
if not emoji_dict.get(emoji_name):
emoji_dict[emoji_name] = emoji_item
for ename, eitem in custom_emoji_dict.items():
if not emoji_dict.get(ename):
emoji_dict[ename] = eitem
# print('TAG: looking up emoji for :' + word_str2 + ':')
_add_emoji(base_dir, ':' + word_str2 + ':', http_prefix,