From 8d846dc49150d42cd53cf3282280e743e8541b52 Mon Sep 17 00:00:00 2001 From: fly Date: Thu, 27 Aug 2020 11:07:20 +0000 Subject: [PATCH] Cast not longer needed Signed-off-by: fly --- init-db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init-db.py b/init-db.py index c438657..0f1c11d 100755 --- a/init-db.py +++ b/init-db.py @@ -130,7 +130,7 @@ while lat < 90: lon = -180 while lon < 180: tile = get_tile(lat, lon) - parent = get_area_name(int(lat), int(lon)) + parent = get_area_name(lat, lon) sql="SELECT id FROM secondLevel WHERE name='" + parent + "'" cursor.execute(sql) result = cursor.fetchall()