OSDN Git Service

exit debug mode
authoryamat0jp <yamat0jp@yahoo.co.jp>
Sat, 1 Sep 2018 06:29:19 +0000 (15:29 +0900)
committeryamat0jp <yamat0jp@yahoo.co.jp>
Sat, 1 Sep 2018 06:29:19 +0000 (15:29 +0900)
bot.py

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__':