Unverified Commit ef9efb61 authored by AUTOMATIC1111's avatar AUTOMATIC1111 Committed by GitHub
Browse files

Merge pull request #7954 from EllangoK/xyz-newline

Fixes newlines within checkpoints being detected as its own entry
parents b9fd9c81 bab972ff
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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 = []