From 3ea3bccdd82348a79d011b428cc4c65b34f07b40 Mon Sep 17 00:00:00 2001 From: George Hunt Date: Wed, 5 Jun 2019 19:43:21 -0700 Subject: [PATCH] adjustments to redirect --- roles/osm-vector-maps/templates/iiab-update-map | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/osm-vector-maps/templates/iiab-update-map b/roles/osm-vector-maps/templates/iiab-update-map index 289c7dd22..b11dcba90 100755 --- a/roles/osm-vector-maps/templates/iiab-update-map +++ b/roles/osm-vector-maps/templates/iiab-update-map @@ -74,10 +74,10 @@ def main(): print('autoudate of menu items is enabled:%s. Adding %s'%(\ fetch_menu_json_value('autoupdate_menu'),region,)) menus.update_menu_json(menu_ref) - # redirect from box/maps to an installed map rather than test page - with open('{{ vector_map_path }}/index.html','w') as fp: - outstr = """ \n\n"""%fname - fp.write(outstr) + # redirect from box/maps to an installed map rather than test page + with open('{{ vector_map_path }}/index.html','w') as fp: + outstr = """ \n\n"""%fname + fp.write(outstr) def get_map_catalog():