diff options
author | Ryan Huber <rhuber@gmail.com> | 2015-05-27 08:31:52 -0700 |
---|---|---|
committer | Ryan Huber <rhuber@gmail.com> | 2015-05-27 08:31:52 -0700 |
commit | ca7b71a8815638aa222cec3a182d45ef6aca714e (patch) | |
tree | d2cc2adb84789dd52c62b51085f7c2cf74473c46 /wee_slack.py | |
parent | a34977e52735a133ad232e09e53cb099991206f1 (diff) | |
download | wee-slack-ca7b71a8815638aa222cec3a182d45ef6aca714e.tar.gz |
derp again
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 2 |
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 = ' [' |