Skip to content
Permalink
Browse files

Merge pull request #2901 from bartnv/fix-iterating-import

[processing] Fix extension removal in exportVectorLayer
  • Loading branch information
volaya committed Mar 18, 2016
2 parents 2942ce5 + d7c477b commit 6c1201cf132939a03d0960e57b0eef3651afe0ea
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/grass/GrassAlgorithm.py
@@ -465,7 +465,7 @@ def exportVectorLayer(self, orgFilename):
snap = self.getParameterValue(self.GRASS_SNAP_TOLERANCE_PARAMETER)
command += ' snap=' + unicode(snap)
command += ' dsn="%s"' % os.path.dirname(filename)
command += ' layer="%s"' % os.path.splitext(os.path.basename(filename)[:-4])[0]
command += ' layer="%s"' % os.path.basename(filename)[:-4]
command += ' output=' + destFilename
command += ' --overwrite -o'
return command

0 comments on commit 6c1201c

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