Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1e662d1

Browse files
committedMar 13, 2019
[processing] Fix IDW parameter value creation
1 parent 39069d8 commit 1e662d1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

‎python/plugins/processing/algs/qgis/ui/InterpolationWidgets.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,11 @@ def value(self):
201201
else:
202202
inputType = QgsInterpolator.SourceBreakLines
203203

204-
layers += '{}::~::{:d}::~::{:d}::~::{:d}::|::'.format(layer.source(),
205-
interpolationSource,
206-
fieldIndex,
207-
inputType)
208-
return layers[:-1]
204+
layers += '{}::~::{:d}::~::{:d}::~::{:d}::|::'.format(layer.source(),
205+
interpolationSource,
206+
fieldIndex,
207+
inputType)
208+
return layers[:-len('::|::')]
209209

210210

211211
class InterpolationDataWidgetWrapper(WidgetWrapper):

0 commit comments

Comments
 (0)
Please sign in to comment.