From 7a1b41649df4cb7a7da00ceb02f7d19341170803 Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Mon, 18 Nov 2019 08:50:39 -0600 Subject: [PATCH] iiab-update-map - print (), python3 --- roles/osm-vector-maps/templates/iiab-update-map | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/osm-vector-maps/templates/iiab-update-map b/roles/osm-vector-maps/templates/iiab-update-map index 35055e317..baacd922e 100755 --- a/roles/osm-vector-maps/templates/iiab-update-map +++ b/roles/osm-vector-maps/templates/iiab-update-map @@ -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]