OSDN Git Service
(root)
/
simple-tornado-bot
/
simple-tornado-bot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efbb28f
)
no message
author
yamat0jp
<yamat0jp@yahoo.co.jp>
Fri, 7 Sep 2018 13:07:51 +0000
(22:07 +0900)
committer
yamat0jp
<yamat0jp@yahoo.co.jp>
Fri, 7 Sep 2018 13:07:51 +0000
(22:07 +0900)
bot.py
patch
|
blob
|
history
diff --git
a/bot.py
b/bot.py
index
753a8a0
..
44100d8
100644
(file)
--- a/
bot.py
+++ b/
bot.py
@@
-56,7
+56,7
@@
class WebHookHandler(tornado.web.RequestHandler):
def post(self):
events = tornado.escape.json_decode(self.request)
- for event in events:
+ for event in events
['events']
:
if 'replyToken' in event:
linebot.reply_message(
event['replyToken'],