aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index f40cc79..5a7b4f1 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -1192,7 +1192,7 @@ def do_reaction(message_json):
channel.buffer_prnt_changed(None, "", message_json["item"]["ts"], append)
def create_reaction_string(reactions):
- if type(reactions) != []:
+ if isinstance(reactions, list):
reaction_string = " [{}]".format(reactions)
else:
reaction_string = ' ['