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()