Skip to content
Permalink
Browse files

[processing] Fix Points to Paths terminates when an order by

field is empty
  • Loading branch information
nyalldawson committed Mar 16, 2018
1 parent 6158236 commit 87e843264497a426539676fc088a295e32a2a012
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/qgis/PointsToPaths.py
@@ -162,7 +162,7 @@ def processAlgorithm(self, parameters, context, feedback):
if feedback.isCanceled():
break

vertices.sort()
vertices.sort(key=lambda x: (x[0] is None, x[0]))
f = QgsFeature()
attributes = []
if group_field_index >= 0:

0 comments on commit 87e8432

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