fixes newline being detected as its own entry

This commit is contained in:
EllangoK 2023-02-20 10:16:55 -05:00
parent 0cc0ee1bcb
commit bab972ff8a
1 changed files with 1 additions and 1 deletions

View File

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