Skip to content
Permalink
Browse files
fix gdaltools error checking for ogr layers
  • Loading branch information
brushtyler authored and timlinux committed Nov 11, 2011
1 parent e089730 commit 188d55c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -153,7 +153,7 @@ def getRasterLayers(self):
def isVector(self, layer):
if layer.type() != layer.VectorLayer:
return False
if layer.usesProvider() and layer.providerKey() != 'ogr':
if layer.providerType() != 'ogr':
return False
return True

0 comments on commit 188d55c

Please sign in to comment.