Fix reportError call

This commit is contained in:
Nyall Dawson 2017-07-13 20:11:37 +10:00
parent 653ef7b243
commit 8f19f74893

View File

@ -213,7 +213,7 @@ class Heatmap(QgisAlgorithm):
break
if kde.addFeature(f) != QgsKernelDensityEstimation.Success:
feedback.reportError(self.tr('Error adding feature with ID {} to heatmap').format(f.id()), self.tr('Processing'), QgsMessageLog.CRITICAL)
feedback.reportError(self.tr('Error adding feature with ID {} to heatmap').format(f.id()))
feedback.setProgress(int(current * total))