From b0e5a50a599f13f7fc000a026496512f8a9733cc Mon Sep 17 00:00:00 2001 From: Sei Lisa Date: Fri, 25 Mar 2016 20:52:48 +0100 Subject: [PATCH] Fix discrepancy with LSL in llCSV2List. In LSL, llCSV2List eats the very first space in the string if there's one. This patch implements that behaviour. --- lslopt/lslbasefuncs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lslopt/lslbasefuncs.py b/lslopt/lslbasefuncs.py index e085d9e..0d9e616 100644 --- a/lslopt/lslbasefuncs.py +++ b/lslopt/lslbasefuncs.py @@ -852,7 +852,7 @@ def llCSV2List(s): assert isstring(s) bracketlevel = 0 - lastwascomma = False + lastwascomma = True # first space is eaten!!! lastidx = 0 i = 0 ret = []