diff --git a/script/local.py b/script/local.py index 3050ef7..9242a1d 100644 --- a/script/local.py +++ b/script/local.py @@ -27,7 +27,7 @@ def getPars(element): tokens = line.split("=") if tokens[0] == str(element): tokens = tokens[1].split(";") - for i in range[tokens.lenght]: + for i in range[len(tokens)]: tokens[i] = float(tokens[i]) return tokens finally: