Skip to content

Commit

Permalink
Update Grid.py
Browse files Browse the repository at this point in the history
Fixes a broken module. Possibly more broken ones around.
  • Loading branch information
pcav committed Oct 13, 2015
1 parent 4e5125b commit 9cd5eed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/Grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9cd5eed

Please sign in to comment.