9815: Fix clear map action on Geography

This commit is contained in:
romjerome 2016-11-29 10:30:40 +01:00
parent e52e0d3734
commit 95afffef79

View File

@ -403,7 +403,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)
pass pass
def add_specific_menu(self, menu, event, lat, lon): def add_specific_menu(self, menu, event, lat, lon):