Skip to content
Permalink
Browse files

more unicoding (followup 697d2af)

  • Loading branch information
jef-n committed Aug 24, 2015
1 parent ab7c0bf commit aa3649134742bc9fbff5b728125c719a936e35fd
Showing with 1 addition and 6 deletions.
  1. +1 −6 python/plugins/processing/algs/otb/maintenance/OTBHelper.py
@@ -515,15 +515,10 @@ def adapt_list_to_string(c_list):

a_list[1] = "-%s" % a_list[1]

def myunicode(par):
if isinstance(par, list):
return ";".join(par)
return unicode(par)

if a_list[-1] is None:
return ""

b_list = map(mystr, a_list)
b_list = map(lambda x: ";".join(x) if isinstance(x, list) else unicode(x), a_list)
b_list = [b_list[1], b_list[-1]]
res = " ".join(b_list)
return res

0 comments on commit aa36491

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