Cast not longer needed

Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
fly 2020-08-27 11:07:20 +00:00
parent f2bb5d6654
commit 8d846dc491

View file

@ -130,7 +130,7 @@ while lat < 90:
lon = -180 lon = -180
while lon < 180: while lon < 180:
tile = get_tile(lat, lon) 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 + "'" sql="SELECT id FROM secondLevel WHERE name='" + parent + "'"
cursor.execute(sql) cursor.execute(sql)
result = cursor.fetchall() result = cursor.fetchall()