diff --git a/script/local.py b/script/local.py index 9242a1d..02a12a1 100644 --- a/script/local.py +++ b/script/local.py @@ -27,8 +27,9 @@ def getPars(element): tokens = line.split("=") if tokens[0] == str(element): tokens = tokens[1].split(";") + print len(tokens)] for i in range[len(tokens)]: - tokens[i] = float(tokens[i]) + tokens[i] = float(tokens[i].trim()) return tokens finally: f.close()