aboutsummaryrefslogtreecommitdiffstats
path: root/generate_weemoji.py
diff options
context:
space:
mode:
Diffstat (limited to 'generate_weemoji.py')
-rwxr-xr-xgenerate_weemoji.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/generate_weemoji.py b/generate_weemoji.py
index a273963..e0628dc 100755
--- a/generate_weemoji.py
+++ b/generate_weemoji.py
@@ -10,7 +10,7 @@ def convert_unicode_string(emoji_dict):
for k, v in emoji_dict.items():
if k == "unicode":
emoji_dict[k] = "".join([chr(int(x, 16)) for x in v.split("-")])
- if type(v) == dict:
+ if isinstance(v, dict):
convert_unicode_string(v)