Skip to content
Permalink
Browse files

[bugfix] PTP check for output folder. (#40488)

Fixes #40486
  • Loading branch information
roya0045 committed Dec 22, 2020
1 parent b28d820 commit b6863365137d10511449dfd911ece637e7166fde
Showing with 3 additions and 0 deletions.
  1. +3 −0 python/plugins/processing/algs/qgis/PointsToPaths.py
@@ -154,6 +154,9 @@ def processAlgorithm(self, parameters, context, feedback):
if sink is None:
raise QgsProcessingException(self.invalidSinkError(parameters, self.OUTPUT))

if text_dir and not(os.path.exists(text_dir)):
raise QgsProcessingException(self.tr("The text output directory does not exist"))

points = dict()
required_fields = expression.referencedColumns()
required_fields.add(group_field_name)

0 comments on commit b686336

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