9815: Fix clear map action on Geography
This commit is contained in:
parent
e52e0d3734
commit
95afffef79
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user