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