Skip to content

Commit

Permalink
[processing] add missed variable initialization (fix #15154)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Jun 28, 2016
1 parent 05f3708 commit 0b502c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/plugins/processing/algs/qgis/Dissolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ def processAlgorithm(self, progress):

features = None

nElement = 0
for key, value in myDict.items():
nElement += 1
progress.setPercentage(int(nElement * 100 / nFeat))
Expand Down

0 comments on commit 0b502c9

Please sign in to comment.