From 95afffef794c1377d6a5719f70d9f7bd3ab82052 Mon Sep 17 00:00:00 2001 From: romjerome Date: Tue, 29 Nov 2016 10:30:40 +0100 Subject: [PATCH] 9815: Fix clear map action on Geography --- gramps/plugins/lib/maps/geography.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/lib/maps/geography.py b/gramps/plugins/lib/maps/geography.py index 10d596535..8453f1903 100644 --- a/gramps/plugins/lib/maps/geography.py +++ b/gramps/plugins/lib/maps/geography.py @@ -403,7 +403,7 @@ class GeoGraphyView(OsmGps, NavigationView): import shutil path = "%s%c%s" % ( config.get('geography.path'), os.sep, the_map ) - shutil.rmtree(path) + shutil.rmtree(path, ignore_errors=True) pass def add_specific_menu(self, menu, event, lat, lon):