Merge pull request #7954 from EllangoK/xyz-newline

Fixes newlines within checkpoints being detected as its own entry
This commit is contained in:
AUTOMATIC1111 2023-03-11 16:37:51 +03:00 committed by GitHub
commit ef9efb61aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -433,7 +433,7 @@ class Script(scripts.Script):
if opt.label == 'Nothing': if opt.label == 'Nothing':
return [0] return [0]
valslist = [x.strip() for x in chain.from_iterable(csv.reader(StringIO(vals)))] valslist = [x.strip() for x in chain.from_iterable(csv.reader(StringIO(vals))) if x]
if opt.type == int: if opt.type == int:
valslist_ext = [] valslist_ext = []