Skip to content

Commit 43a8680

Browse files
committedMay 2, 2017
[processing] Fix vector split alg
1 parent ee1236f commit 43a8680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/algs/qgis/VectorSplit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def processAlgorithm(self, context, feedback):
8686
for current, i in enumerate(uniqueValues):
8787
fName = u'{0}_{1}.shp'.format(baseName, str(i).strip())
8888

89-
writer, dest, layer = vector.createVectorWriter(fName, None, fields, geomType, crs, context)
89+
writer, dest, _layer = vector.createVectorWriter(fName, None, fields, geomType, crs, context)
9090
for f in QgsProcessingUtils.getFeatures(layer, context):
9191
if f[fieldName] == i:
9292
writer.addFeature(f)

0 commit comments

Comments
 (0)
Please sign in to comment.