revert back to using list comprehension rather than list and map
This commit is contained in:
parent
0bb458f0ca
commit
1069ec49a3
|
@ -197,7 +197,7 @@ class Script(scripts.Script):
|
||||||
if opt.label == 'Nothing':
|
if opt.label == 'Nothing':
|
||||||
return [0]
|
return [0]
|
||||||
|
|
||||||
valslist = list(map(str.strip,chain.from_iterable(csv.reader(StringIO(vals)))))
|
valslist = [x.strip() for x in chain.from_iterable(csv.reader(StringIO(vals)))]
|
||||||
|
|
||||||
if opt.type == int:
|
if opt.type == int:
|
||||||
valslist_ext = []
|
valslist_ext = []
|
||||||
|
|
Loading…
Reference in New Issue