Skip to content
Permalink
Browse files

Update Grid.py

Fixes a broken module. Possibly more broken ones around.
  • Loading branch information
pcav committed Oct 13, 2015
1 parent 4e5125b commit 9cd5eed9bf19a6fd219e6b1e66d012f779d2916b
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/qgis/Grid.py
@@ -96,7 +96,7 @@ def processAlgorithm(self, progress):
raise GeoAlgorithmExecutionException(
self.tr('Vertical spacing is too small for the covered area'))

if self.TYPES[idx].find('polygon') >= 0:
if self.types[idx].find('polygon') >= 0:
geometryType = QGis.WKBPolygon
else:
geometryType = QGis.WKBLineString

0 comments on commit 9cd5eed

Please sign in to comment.
You can’t perform that action at this time.