1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

iiab-update-map - print (), python3

This commit is contained in:
Jerry Vonau 2019-11-18 08:50:39 -06:00
parent 0c5e6dce44
commit 7a1b41649d

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python3
# Scan the osm-vector-maps directory, update the osm-vector-maps-idx.json, add menu-defs
from geojson import Feature, Point, FeatureCollection, Polygon
@ -60,7 +60,7 @@ def main():
menus.update_menu_json(menu_ref)
return
elif region not in map_catalog['regions']:
print "Skipping unknown map " + fname
print ("Skipping unknown map " + fname)
continue
else:
item = map_catalog['regions'][region]