mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
Fix bug in llCSV2List when there's no space after comma but there's a space in the value.
E.g. llCSV2List(",A B") produced ["", "B"].
This commit is contained in:
parent
daae0ec518
commit
14f70c93b4
1 changed files with 1 additions and 0 deletions
|
@ -867,6 +867,7 @@ def llCSV2List(s):
|
|||
lastwascomma = False
|
||||
lastidx = i+1
|
||||
else:
|
||||
lastwascomma = False
|
||||
if c == u',':
|
||||
lastwascomma = True
|
||||
ret.append(s[lastidx:i])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue