Skip to content

Commit 9cd5eed

Browse files
committedOct 13, 2015
Update Grid.py
Fixes a broken module. Possibly more broken ones around.
1 parent 4e5125b commit 9cd5eed

File tree

1 file changed

+1
-1
lines changed
  • python/plugins/processing/algs/qgis

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/algs/qgis/Grid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def processAlgorithm(self, progress):
9696
raise GeoAlgorithmExecutionException(
9797
self.tr('Vertical spacing is too small for the covered area'))
9898

99-
if self.TYPES[idx].find('polygon') >= 0:
99+
if self.types[idx].find('polygon') >= 0:
100100
geometryType = QGis.WKBPolygon
101101
else:
102102
geometryType = QGis.WKBLineString

0 commit comments

Comments
 (0)
Please sign in to comment.