From 81cf23dc31d411bc546856ea6ded43e6021aeea9 Mon Sep 17 00:00:00 2001 From: x07maop Date: Tue, 25 Aug 2015 10:09:50 +0200 Subject: [PATCH] Script execution --- script/local.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/local.py b/script/local.py index 02a12a1..bc71242 100644 --- a/script/local.py +++ b/script/local.py @@ -27,9 +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)]: + for i in range(len(tokens)): tokens[i] = float(tokens[i].trim()) + return tokens finally: f.close()