From 0b34d29a18167550b72f9dc21ee0b552104d4500 Mon Sep 17 00:00:00 2001 From: Taro Matsuzawa Date: Sat, 24 Aug 2019 06:56:04 +0900 Subject: [PATCH] bump tornado and others, use new function --- requirements.txt | 8 ++++---- server.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/requirements.txt b/requirements.txt index b31efb9..b44a42d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ mercantile==1.0.4 -psycopg2-binary==2.7.7 -pyproj==1.9.6 +psycopg2-binary==2.8.3 +pyproj==2.2.1 PyYAML==3.13 -SQLAlchemy==1.2.18 -tornado==5.1.1 +SQLAlchemy==1.3.7 +tornado==6.0.3 diff --git a/server.py b/server.py index 2badeed..320cb41 100644 --- a/server.py +++ b/server.py @@ -97,6 +97,6 @@ def m(): application = tornado.web.Application([(r"/tiles/([0-9]+)/([0-9]+)/([0-9]+).pbf", GetTile)]) print("Postserve started..") application.listen(8080) - tornado.ioloop.IOLoop.instance().start() + tornado.ioloop.IOLoop.current().start() m()