geography : osmgpsmap must be >= 0.7.0
svn: r17291
This commit is contained in:
parent
c8b4d59ddb
commit
24af34a84b
@ -30,6 +30,11 @@
|
|||||||
try :
|
try :
|
||||||
import osmgpsmap
|
import osmgpsmap
|
||||||
OSMGPSMAP = True
|
OSMGPSMAP = True
|
||||||
|
if osmgpsmap.__version__ < '0.7.0':
|
||||||
|
OSMGPSMAP = False
|
||||||
|
import sys
|
||||||
|
print >> sys.stderr, _("WARNING: osmgpsmap module not loaded. "
|
||||||
|
"osmgpsmap must be >= 0.7.0. yours is %s" % osmgpsmap.__version__ )
|
||||||
except:
|
except:
|
||||||
OSMGPSMAP = False
|
OSMGPSMAP = False
|
||||||
import sys
|
import sys
|
||||||
|
Loading…
Reference in New Issue
Block a user