Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Aug 15, 2020
1 parent 92914c5 commit 1c6a0a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/PointsToPaths.py
Expand Up @@ -54,11 +54,13 @@ class PointsToPaths(QgisAlgorithm):
DATE_FORMAT = 'DATE_FORMAT'
OUTPUT = 'OUTPUT'
OUTPUT_TEXT_DIR = 'OUTPUT_TEXT_DIR'

def group(self):
return self.tr('Vector creation')

def groupId(self):
return 'vectorcreation'

def __init__(self):
super().__init__()

Expand Down Expand Up @@ -135,6 +137,7 @@ def processAlgorithm(self, parameters, context, feedback):
for current, f in enumerate(features):
if feedback.isCanceled():
break

if not f.hasGeometry():
continue

Expand Down

0 comments on commit 1c6a0a8

Please sign in to comment.