aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDepFA <35278260+dfaker@users.noreply.github.com>2022-10-06 12:32:17 +0100
committerAUTOMATIC1111 <16777216c@gmail.com>2022-10-06 18:09:49 +0300
commitfd9e0491681c027bd62267fef4b632d12af7af3b (patch)
treed7376b831d0678239fae93673cc0ceb277ece359 /scripts
parentefa61d31682fb589956cbffa60243d68d9a0daa7 (diff)
strip() split comma delimited lines
Diffstat (limited to 'scripts')
-rw-r--r--scripts/xy_grid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/xy_grid.py b/scripts/xy_grid.py
index 1a625898..ec27e58b 100644
--- a/scripts/xy_grid.py
+++ b/scripts/xy_grid.py
@@ -197,7 +197,7 @@ class Script(scripts.Script):
if opt.label == 'Nothing':
return [0]
- valslist = list(chain.from_iterable(csv.reader(StringIO(s))))
+ valslist = list(map(str.strip,chain.from_iterable(csv.reader(StringIO(s)))))
if opt.type == int:
valslist_ext = []