changeset 5556:b91cc44312b7

Fix skipping of buhnen.shp
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 04 Apr 2013 14:58:18 +0200
parents 1951eb4b0716
children bf016afe92f5
files flys-backend/contrib/shpimporter/buildings.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/contrib/shpimporter/buildings.py	Thu Apr 04 12:25:32 2013 +0200
+++ b/flys-backend/contrib/shpimporter/buildings.py	Thu Apr 04 14:58:18 2013 +0200
@@ -46,7 +46,7 @@
 
 
     def isShapeRelevant(self, name, path):
-        return "buhnen.shp" not in name.lower()
+        return "buhnen.shp" not in path.lower()
 
     def getKind(self, feat, path):
         # First try to resolve it with the filename

http://dive4elements.wald.intevation.org