Skip to content
Permalink
Browse files

[processing] correctly raise exception (fix #17148)

  • Loading branch information
alexbruy committed Sep 27, 2017
1 parent faa9134 commit 59904fbfc6937c2b95955c1fa48cc5a54d171ce1
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/qgis/SelectByAttributeSum.py
@@ -62,7 +62,7 @@ def processAlgorithm(self, progress):

selected = layer.selectedFeaturesIds()
if len(selected) == 0:
GeoAlgorithmExecutionException(
raise GeoAlgorithmExecutionException(
self.tr('There is no selection in the input layer. '
'Select one feature and try again.'))

0 comments on commit 59904fb

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