diff --git a/gramps/plugins/lib/maps/osmgps.py b/gramps/plugins/lib/maps/osmgps.py index 530ed5549..85247c504 100644 --- a/gramps/plugins/lib/maps/osmgps.py +++ b/gramps/plugins/lib/maps/osmgps.py @@ -225,7 +225,7 @@ class OsmGps: except: ErrorDialog(_("Can't create " "tiles cache directory for '%s'.") % - constants.MAP_TITLE[map_type], + constants.MAP_TITLE[self.current_map], parent=self.uistate.window) http_proxy = get_env_var('http_proxy') if 0: