Commit 7305e7c6 authored by Hiro's avatar Hiro 🏄
Browse files

Fix twitter responder for links

parent c275dbb3
......@@ -158,7 +158,7 @@ class Twitterdm(object):
log.info("Got new links request.")
for request in link_requests:
ids = json.load(request[0])
ids = json.loads("{}".format(request[0].replace("'", '"')))
message_id = ids['id']
twitter_id = ids['twitter_handle']
date = request[5]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment