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:
parent
0c5e6dce44
commit
7a1b41649d
1 changed files with 2 additions and 2 deletions
|
@ -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
|
# Scan the osm-vector-maps directory, update the osm-vector-maps-idx.json, add menu-defs
|
||||||
|
|
||||||
from geojson import Feature, Point, FeatureCollection, Polygon
|
from geojson import Feature, Point, FeatureCollection, Polygon
|
||||||
|
@ -60,7 +60,7 @@ def main():
|
||||||
menus.update_menu_json(menu_ref)
|
menus.update_menu_json(menu_ref)
|
||||||
return
|
return
|
||||||
elif region not in map_catalog['regions']:
|
elif region not in map_catalog['regions']:
|
||||||
print "Skipping unknown map " + fname
|
print ("Skipping unknown map " + fname)
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
item = map_catalog['regions'][region]
|
item = map_catalog['regions'][region]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue