mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-12-29 19:05:05 +08:00
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':
|
||||
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 = []
|
||||
|
Loading…
Reference in New Issue
Block a user