aboutsummaryrefslogtreecommitdiffstats
path: root/generate_weemoji.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-07-30 19:53:58 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2023-07-30 19:53:58 +0200
commit743cb1c85f922c39ebeaca414f4703b9e47f080e (patch)
treeaa84dca143125957ea40dc543d81e6066d098607 /generate_weemoji.py
parent6d70c449f3be7cecb87baf3b7ce0b583b6bf9271 (diff)
downloadwee-slack-743cb1c85f922c39ebeaca414f4703b9e47f080e.tar.gz
Fix flake8 errors after new flake8 release
I missed this file in commit 6202a7c.
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)