Update xy_grid.py

split vals not 's' from tests
This commit is contained in:
DepFA 2022-10-06 15:22:51 +01:00 committed by AUTOMATIC1111
parent fd9e049168
commit 82eb8ea452

View File

@ -197,7 +197,7 @@ class Script(scripts.Script):
if opt.label == 'Nothing': if opt.label == 'Nothing':
return [0] return [0]
valslist = list(map(str.strip,chain.from_iterable(csv.reader(StringIO(s))))) valslist = list(map(str.strip,chain.from_iterable(csv.reader(StringIO(vals)))))
if opt.type == int: if opt.type == int:
valslist_ext = [] valslist_ext = []