From 8b5f50e37f74267ef34f5ec93883f8d5e623c021 Mon Sep 17 00:00:00 2001 From: Stephan Traub Date: Mon, 1 Feb 2021 21:30:54 +0100 Subject: [PATCH] CLS fix --- custom_components/wiz_light/vec.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/wiz_light/vec.py b/custom_components/wiz_light/vec.py index 5418b66..afdef69 100644 --- a/custom_components/wiz_light/vec.py +++ b/custom_components/wiz_light/vec.py @@ -21,9 +21,9 @@ def vecLenSq(a): return vecDot(a, a) -def vecLen(cls, a) -> float: +def vecLen(a) -> float: """Retrun Square length.""" - lenSq = cls.vecLenSq(a) + lenSq = vecLenSq(a) return sqrt(lenSq) if (lenSq > EPSILON) else 0