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:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user