From ca7b71a8815638aa222cec3a182d45ef6aca714e Mon Sep 17 00:00:00 2001 From: Ryan Huber Date: Wed, 27 May 2015 08:31:52 -0700 Subject: derp again --- wee_slack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wee_slack.py') 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 = ' [' -- cgit