diff --git a/scripts/xyz_grid.py b/scripts/xyz_grid.py index f068598d..87e33d79 100644 --- a/scripts/xyz_grid.py +++ b/scripts/xyz_grid.py @@ -433,7 +433,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 = []