Commit fd9e0491 authored by DepFA's avatar DepFA Committed by AUTOMATIC1111

strip() split comma delimited lines

parent efa61d31
...@@ -197,7 +197,7 @@ class Script(scripts.Script): ...@@ -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 = []
......
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