From f75618eb2d0726e2644d1d38e9393616e4ce7d77 Mon Sep 17 00:00:00 2001 From: romjerome Date: Wed, 21 Dec 2016 12:21:43 +0100 Subject: [PATCH] 9824: pylint error: map_type not set was pull request #284 --- gramps/plugins/lib/maps/osmgps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: