diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-06-10 11:48:31 +0200 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2018-11-03 21:54:41 +0100 |
commit | 9172af8b8bd501e43da928926505f39f61ce4736 (patch) | |
tree | c3bd192a686e67eb4fcd60b241c354102e763012 /wee_slack.py | |
parent | 7e9ef8814fc1e0c374e3f55523c03613902d8327 (diff) | |
download | wee-slack-9172af8b8bd501e43da928926505f39f61ce4736.tar.gz |
Fix status call
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 9f3b8cc..cf5c3f0 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -3340,7 +3340,7 @@ def whois_command_cb(data, current_buffer, command): if u: team.buffer_prnt("[{}]: {}".format(user, u.real_name)) if u.profile.get("status_text"): - team.buffer_prnt("[{}]: {} {}".format(user, u.profile.status_emoji, u.profile.status_text)) + team.buffer_prnt("[{}]: {} {}".format(user, u.profile.get('status_emoji', ''), u.profile.get('status_text', ''))) team.buffer_prnt("[{}]: Real name: {}".format(user, u.profile.get('real_name_normalized', ''))) team.buffer_prnt("[{}]: Title: {}".format(user, u.profile.get('title', ''))) team.buffer_prnt("[{}]: Email: {}".format(user, u.profile.get('email', ''))) |