From 4e6034565a1df2d850aad48f0be4f0a2c616ac9c Mon Sep 17 00:00:00 2001 From: pengtao Date: Thu, 19 Sep 2019 17:13:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=BF=E5=91=8A=E4=BD=8D=E7=BD=AE=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=8F=82=E6=95=B0=E5=88=A4=E6=96=AD=EF=BC=8C=E6=8B=86?= =?UTF-8?q?=E5=88=86?= 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 60217a1..4f1c092 100644 --- a/handler/location.py +++ b/handler/location.py @@ -140,7 +140,7 @@ class Location(Resource): self.mydb.update("location", location, condition) locationids = location['id'].replace('[', "").replace(']', "").replace('"', "").split(',') for id in locationids: - log.info("reflush locationid={id}") + log.info(f"reflush locationid={id}") self.reflush_location(id) return jsonify({'code': 200}) else: