Skip to content

Commit b2b494d

Browse files
committedSep 25, 2017
[processing] fix wrong variable name
1 parent 75afe3f commit b2b494d

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/Clip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def processAlgorithm(self, progress):
9696
continue
9797

9898
if single_clip_feature:
99-
total = 100.0 / len(features) if len(features) > 0 else 1
99+
total = 100.0 / len(input_features) if len(input_features) > 0 else 1
100100
else:
101101
total = 0
102102

0 commit comments

Comments
 (0)
Please sign in to comment.