From 848e34c7fbbb0d4dec3277229c04ee55bd1a26d7 Mon Sep 17 00:00:00 2001 From: pengtao Date: Wed, 10 Jul 2019 10:34:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BD=8D=E7=BD=AE=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- handler/location.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler/location.py b/handler/location.py index d572db2..e310529 100644 --- a/handler/location.py +++ b/handler/location.py @@ -19,7 +19,7 @@ parser.add_argument('type') parser.add_argument('in_used') -class Location(): +class Location(Resource): def get(self): sql = f"select id,gameid,area,type from localtion where in_used=1" try: