OSDN Git Service

port
authoryamat0jp <yamat0jp@yahoo.co.jp>
Thu, 6 Sep 2018 22:14:31 +0000 (07:14 +0900)
committeryamat0jp <yamat0jp@yahoo.co.jp>
Thu, 6 Sep 2018 22:14:31 +0000 (07:14 +0900)
bot.py

diff --git a/bot.py b/bot.py
index 5b880b2..bb9b4a0 100644 (file)
--- a/bot.py
+++ b/bot.py
@@ -99,9 +99,8 @@ if __name__ == '__main__':
     ch = os.environ['Channel_Secret']
     uri = os.environ['MONGODB_URI']
     ac = os.environ['ACCOUNT']
-    port = os.environ.get['PORT',5000]
     linebot = LineBotApi(token)
     webhook = WebhookParser(ch)  
-    application.listen(port)
+    application.listen(8888)
     tornado.ioloop.IOLoop.instance().start()
     
\ No newline at end of file