changeset 5197:f0c47b4beded

Do a case insensitive check for the layer name
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 08 Mar 2013 10:16:21 +0100
parents 2a5b15e071d8
children edba92337204
files flys-backend/contrib/shpimporter/km.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/contrib/shpimporter/km.py	Fri Mar 08 09:18:03 2013 +0100
+++ b/flys-backend/contrib/shpimporter/km.py	Fri Mar 08 10:16:21 2013 +0100
@@ -29,7 +29,7 @@
 
 
     def isShapeRelevant(self, name, path):
-        return name == "km"
+        return name.lower() == "km"
 
 
     def createNewFeature(self, featureDef, feat, **args):

http://dive4elements.wald.intevation.org