summaryrefslogtreecommitdiff
path: root/chimere/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/utils.py')
-rw-r--r--chimere/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/chimere/utils.py b/chimere/utils.py
index a82d88b..722a960 100644
--- a/chimere/utils.py
+++ b/chimere/utils.py
@@ -363,8 +363,8 @@ class ShapefileManager(ImportManager):
elif id_name:
lbl_name = id_name
if lyr.geom_type not in ('Point', 'LineString'):
- return (0, 0, _(u"Type of geographic item of this shapefile "
- u"is not managed by Chimère."))
+ return (0, 0, _(u"Type of geographic item (%s) of this shapefile "
+ u"is not managed by Chimère.") % lyr.geom_type)
geom_key = 'point' if lyr.geom_type == 'Point' else 'route'
geom_cls = Marker if lyr.geom_type == 'Point' else Route
indexes = []