Skip to content


pass file names with quotes to otb
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashad Kanavath authored and nyalldawson committed Feb 22, 2019
1 parent be52385 commit 5666db2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/otb/
Expand Up @@ -210,9 +210,9 @@ def processAlgorithm(self, parameters, context, feedback):

if isinstance(param, (QgsProcessingParameterRasterLayer, QgsProcessingParameterVectorLayer)):
if isinstance(v, QgsMapLayer):
value = v.source()
value = '"{}"'.format(v.source())
value = v
value = '"{}"'.format(v)
elif isinstance(param, QgsProcessingParameterMultipleLayers):
value = ''
for item in v:
Expand Down

0 comments on commit 5666db2

Please sign in to comment.