diff options
| author | EllangoK <karun.ellango7@gmail.com> | 2023-02-20 10:16:55 -0500 |
|---|---|---|
| committer | EllangoK <karun.ellango7@gmail.com> | 2023-02-20 10:16:55 -0500 |
| commit | bab972ff8ab6be1132ca2b58a2c4fadac0a0685d (patch) | |
| tree | a28fd4e01ff39dd241a679a1fd5a7608c6bcb417 /scripts | |
| parent | 0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8 (diff) | |
| download | stable-diffusion-webui-gfx803-bab972ff8ab6be1132ca2b58a2c4fadac0a0685d.tar.gz | |
fixes newline being detected as its own entry
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/xyz_grid.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/xyz_grid.py b/scripts/xyz_grid.py index 53511b12..d0ff5cb8 100644 --- a/scripts/xyz_grid.py +++ b/scripts/xyz_grid.py @@ -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 = []
|
