aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2016-09-28 11:08:24 -0700
committerRyan Huber <rhuber@gmail.com>2016-09-28 11:08:24 -0700
commitbda434dbd1f29278c718d4b07b7b3b445489823b (patch)
tree0d6390b3399d59d8ca90a54239e191de6bb10b8b /wee_slack.py
parent48e969c638c2ef22124f83806bc8c3a0a1d08bfe (diff)
downloadwee-slack-bda434dbd1f29278c718d4b07b7b3b445489823b.tar.gz
this needs to happen. it is a mutate not an important return value
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 48d487d..c28950d 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -2203,7 +2203,7 @@ def url_processor_cb(data, command, return_code, out, err):
channel = data["post_data"]["channel"]
token = data["token"]
if "messages" in my_json:
- # messages = my_json["messages"].reverse()
+ my_json["messages"].reverse()
for message in my_json["messages"]:
message["_server"] = servers.find(token).domain
message["channel"] = servers.find(token).channels.find(channel).identifier