From de177975a0bd5c3d5e7501255c258a9af9dddf89 Mon Sep 17 00:00:00 2001 From: romjerome Date: Tue, 29 Nov 2016 10:32:17 +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 150609cdd..da33eaf7d 100644 --- a/gramps/plugins/lib/maps/geography.py +++ b/gramps/plugins/lib/maps/geography.py @@ -451,7 +451,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) def add_specific_menu(self, menu, event, lat, lon): """