Skip to content

Commit 8eb79db

Browse files
committedApr 10, 2016
[processing] fix missed quotes in OTB provider (fix #14557)
1 parent badea8c commit 8eb79db

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎python/plugins/processing/algs/otb/OTBSpecific_XMLLoading.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def adaptColorMapping(commands_list):
171171
The output of this algorithm must be in uint8.
172172
"""
173173
indexInput = commands_list.index("-out")
174-
commands_list[indexInput + 1] = commands_list[indexInput + 1] + " uint8"
174+
commands_list[indexInput + 1] = commands_list[indexInput + 1] + '" "uint8"'
175175
return commands_list
176176

177177

@@ -188,7 +188,6 @@ def adaptStereoFramework(commands_list):
188188
argumentToRemove = commands_list2[index - 1]
189189
commands_list2.remove(item)
190190
commands_list2.remove(argumentToRemove)
191-
#commands_list2.append(item)
192191
return commands_list2
193192

194193

0 commit comments

Comments
 (0)
Please sign in to comment.