diff --git a/script/test/InterlockMotorGroup.py b/script/test/InterlockMotorGroup.py index 427b946..86e857e 100644 --- a/script/test/InterlockMotorGroup.py +++ b/script/test/InterlockMotorGroup.py @@ -25,8 +25,8 @@ class InterlockFourcv (Interlock): Interlock.__init__(self, (fourcv, mu, delta, gamma, eta)) def check(self, (p, m, d, g, e)): - - mg, dg, gg, eg = p + if + m, d, g, e = p mv = mm, md, mg, me = m!=mg, d!=dg, g!=gg, e!=eg nm = mv.count(True) simult = nm > 1