From ae71bd812f2f3e31b30a57f1d5a6199e75c316dc Mon Sep 17 00:00:00 2001 From: Serge Noiraud Date: Mon, 25 Apr 2011 13:49:36 +0000 Subject: [PATCH] geography : display a message is no osmgpsmap library available. svn: r17254 --- src/plugins/view/geography.gpr.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/view/geography.gpr.py b/src/plugins/view/geography.gpr.py index 9525e3cc8..cb05e3a89 100644 --- a/src/plugins/view/geography.gpr.py +++ b/src/plugins/view/geography.gpr.py @@ -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.