Commit 1069ec49 authored by AUTOMATIC's avatar AUTOMATIC

revert back to using list comprehension rather than list and map

parent 0bb458f0
......@@ -197,7 +197,7 @@ class Script(scripts.Script):
if opt.label == 'Nothing':
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:
valslist_ext = []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment