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()