diff options
author | Ryan Huber <rhuber@gmail.com> | 2017-02-22 11:49:45 -0800 |
---|---|---|
committer | Ryan Huber <rhuber@gmail.com> | 2017-02-22 11:49:45 -0800 |
commit | 17ad47f47a5e84901f928e558baca151a0c3f27a (patch) | |
tree | e2495c64e1da1d29afb6e7e71da21de7fa3146f3 | |
parent | 23284d470e4c9ea252d01e10e681ff4047fc194d (diff) | |
download | wee-slack-17ad47f47a5e84901f928e558baca151a0c3f27a.tar.gz |
stop linter complaint
-rw-r--r-- | wee_slack.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wee_slack.py b/wee_slack.py index 8e56ce1..bee0c12 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -1330,6 +1330,7 @@ class SlackChannel(object): w.nicklist_add_group(self.channel_buffer, '', fn, w.color('white'), 1) def hash_message(self, ts): ts = SlackTS(ts) + def calc_hash(msg): return sha.sha(str(msg.ts)).hexdigest() |