Skip to content
Permalink
Browse files

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

field is empty

(cherry-picked from 87e8432)
  • Loading branch information
nyalldawson committed Mar 16, 2018
1 parent dff31a4 commit b8c7305218b19b030c99c60ed7c7a55e3d19963b
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 b8c7305

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