9815: Fix clear map action on Geography

This commit is contained in:
romjerome 2016-11-29 10:32:17 +01:00
parent e3d732a31e
commit de177975a0

View File

@ -451,7 +451,7 @@ class GeoGraphyView(OsmGps, NavigationView):
import shutil import shutil
path = "%s%c%s" % (config.get('geography.path'), os.sep, the_map) 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): def add_specific_menu(self, menu, event, lat, lon):
""" """