diff options
author | Ryan Huber <rhuber@gmail.com> | 2014-10-14 06:02:23 -0700 |
---|---|---|
committer | Ryan Huber <rhuber@gmail.com> | 2014-10-14 06:02:23 -0700 |
commit | bea7d576fc284cf998ad9387aca35e77532e6614 (patch) | |
tree | 3af409abcd78b25b119998564091227501b058ac /wee_slack.py | |
parent | d7c31bf360ce5ddc2f2f15492b1fa394fce35106 (diff) | |
download | wee-slack-bea7d576fc284cf998ad9387aca35e77532e6614.tar.gz |
prefer this style..
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wee_slack.py b/wee_slack.py index 8f796b8..ab3d446 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -206,7 +206,7 @@ def process_presence_change(data): if data["presence"] == 'active': modify_buffer_name(data["user"], "+%s") else: - modify_buffer_name(data["user"], "-%s") + modify_buffer_name(data["user"], " %s") def process_channel_marked(message_json): channel = message_json["channel"] @@ -396,7 +396,7 @@ def set_initial_statii(data): if user["presence"] == "active": modify_buffer_name(user["name"], "+%s") else: - modify_buffer_name(user["name"], "-%s") + modify_buffer_name(user["name"], " %s") def create_slack_lookup_hashes(login_data): global user_hash, channel_hash, reverse_channel_hash |