diff --git a/src/plugins/view/geography.gpr.py b/src/plugins/view/geography.gpr.py index 92c53e43e..4890bc82b 100644 --- a/src/plugins/view/geography.gpr.py +++ b/src/plugins/view/geography.gpr.py @@ -30,10 +30,10 @@ try : import osmgpsmap OSMGPSMAP = True - if osmgpsmap.__version__ < '0.7.0': - OSMGPSMAP = False - import sys - print >> sys.stderr, _("WARNING: osmgpsmap module not loaded. " + 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: OSMGPSMAP = False