From f8d4a4b660bfc0b33e504ab50df02fca0f6eca4d Mon Sep 17 00:00:00 2001 From: x07maop Date: Tue, 25 Aug 2015 10:09:14 +0200 Subject: [PATCH] Script execution --- script/local.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()