Skip to content
Permalink
Browse files

[processing] fix missed quotes in OTB provider (fix #14557)

(cherry picked from commit 8eb79db)
  • Loading branch information
alexbruy committed Apr 13, 2016
1 parent e965379 commit 5c24d1af88ab31665aa8e05c625fec854f9ce55b
Showing with 1 addition and 2 deletions.
  1. +1 −2 python/plugins/processing/algs/otb/OTBSpecific_XMLLoading.py
@@ -171,7 +171,7 @@ def adaptColorMapping(commands_list):
The output of this algorithm must be in uint8.
"""
indexInput = commands_list.index("-out")
commands_list[indexInput + 1] = commands_list[indexInput + 1] + " uint8"
commands_list[indexInput + 1] = commands_list[indexInput + 1] + '" "uint8"'
return commands_list


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


0 comments on commit 5c24d1a

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