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:
6e57944
)
exit debug mode
author
yamat0jp
<yamat0jp@yahoo.co.jp>
Sat, 1 Sep 2018 06:29:19 +0000
(15:29 +0900)
committer
yamat0jp
<yamat0jp@yahoo.co.jp>
Sat, 1 Sep 2018 06:29:19 +0000
(15:29 +0900)
bot.py
patch
|
blob
|
history
diff --git
a/bot.py
b/bot.py
index
78de391
..
70638b9
100644
(file)
--- a/
bot.py
+++ b/
bot.py
@@
-30,10
+30,9
@@
class WebHookHandler(tornado.web.RequestHandler):
event.rply_token,
TextSendMessage(text=event.message.text)
)
- self.abort(200)
application = tornado.web.Application([(r'/callback',WebHookHandler)],{
- 'debug':True
+
#
'debug':True
})
if __name__ == '__main__':