geography : display a message is no osmgpsmap library available.
svn: r17254
This commit is contained in:
parent
74c112f684
commit
ae71bd812f
@ -32,7 +32,8 @@ try :
|
||||
OSMGPSMAP = True
|
||||
except:
|
||||
OSMGPSMAP = False
|
||||
pass
|
||||
print _("WARNING: osmgpsmap module not loaded. "
|
||||
"Geography functionality will not be available.")
|
||||
|
||||
if OSMGPSMAP:
|
||||
# Load the view only if osmgpsmap library is present.
|
||||
|
Loading…
Reference in New Issue
Block a user