mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-16 00:03:12 -04:00
[processing][grass] Fix skipped outputs are still added in grass commands
This commit is contained in:
parent
526e590c8d
commit
113e16351d
@ -633,6 +633,7 @@ class Grass7Algorithm(QgsProcessingAlgorithm):
|
||||
uniqueBasename = outName + self.uniqueSuffix
|
||||
command += ' {}={}'.format(outName, uniqueBasename)
|
||||
else:
|
||||
if outName in parameters and parameters[outName] is not None:
|
||||
# We add an output name to make sure it is unique if the session
|
||||
# uses this algorithm several times.
|
||||
#value = self.parameterAsOutputLayer(parameters, outName, context)
|
||||
|
Loading…
x
Reference in New Issue
Block a user