Skip to content
Permalink
Browse files

pass file names with quotes to otb

  • Loading branch information
rkanavath authored and nyalldawson committed Jan 17, 2019
1 parent be52385 commit 5666db28719e63d88a4dc4d4cbc20f20682de713
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/algs/otb/OtbAlgorithm.py
@@ -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())
else:
value = v
value = '"{}"'.format(v)
elif isinstance(param, QgsProcessingParameterMultipleLayers):
value = ''
for item in v:

0 comments on commit 5666db2

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