Skip to content
Permalink
Browse files

Fixes #17929 - output file paths not quoted (m.cogo, v.out.vtk)

  • Loading branch information
slarosa committed Jan 28, 2018
1 parent e8f077f commit 0cb828601434f5cb8c5cd351fdec1130c3c1594c
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/algs/grass7/Grass7Algorithm.py
@@ -420,12 +420,12 @@ def processCommand(self):

for out in self.outputs:
if isinstance(out, OutputFile):
command += ' > ' + out.value
command += ' > "{}"'.format(out.value)
elif not isinstance(out, OutputHTML):
# We add an output name to make sure it is unique if the session
# uses this algorithm several times.
uniqueOutputName = out.name + self.uniqueSufix
command += ' ' + out.name + '=' + uniqueOutputName
command += ' {}="{}"'.format(out.name, uniqueOutputName)

# Add output file to exported layers, to indicate that
# they are present in GRASS

0 comments on commit 0cb8286

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