diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2023-07-30 19:53:58 +0200 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2023-07-30 19:53:58 +0200 |
commit | 743cb1c85f922c39ebeaca414f4703b9e47f080e (patch) | |
tree | aa84dca143125957ea40dc543d81e6066d098607 | |
parent | 6d70c449f3be7cecb87baf3b7ce0b583b6bf9271 (diff) | |
download | wee-slack-743cb1c85f922c39ebeaca414f4703b9e47f080e.tar.gz |
Fix flake8 errors after new flake8 release
I missed this file in commit 6202a7c.
-rwxr-xr-x | generate_weemoji.py | 2 |
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) |