strip() split comma delimited lines
This commit is contained in:
parent
efa61d3168
commit
fd9e049168
|
@ -197,7 +197,7 @@ class Script(scripts.Script):
|
||||||
if opt.label == 'Nothing':
|
if opt.label == 'Nothing':
|
||||||
return [0]
|
return [0]
|
||||||
|
|
||||||
valslist = list(chain.from_iterable(csv.reader(StringIO(s))))
|
valslist = list(map(str.strip,chain.from_iterable(csv.reader(StringIO(s)))))
|
||||||
|
|
||||||
if opt.type == int:
|
if opt.type == int:
|
||||||
valslist_ext = []
|
valslist_ext = []
|
||||||
|
|
Loading…
Reference in New Issue
Block a user