strip() split comma delimited lines

This commit is contained in:
DepFA 2022-10-06 12:32:17 +01:00 committed by AUTOMATIC1111
parent efa61d3168
commit fd9e049168
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ class Script(scripts.Script):
if opt.label == 'Nothing':
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:
valslist_ext = []