Merge pull request #2093 from NaturalGIS/fix_grass7

[processing] fix grass7 provider
This commit is contained in:
alexbruy 2015-05-30 14:50:26 +03:00
commit 0c9c63176a

View File

@ -362,7 +362,7 @@ class Grass7Algorithm(GeoAlgorithm):
outputCommands.append('g.region raster=' + out.name
+ uniqueSufix)
if self.grassName == 'r.statistics':
if self.grass7Name == 'r.statistics':
# r.statistics saves its results in a non-qgis compatible
# way. Post-process them with r.mapcalc.
calcExpression = 'correctedoutput' + uniqueSufix