From a0874625c7d6d2bb1d0594145f2a4a6d351de458 Mon Sep 17 00:00:00 2001 From: Thomas Kolb Date: Tue, 28 Jan 2020 15:54:36 +0100 Subject: [PATCH] fix: use function parameter in changePassword() --- sem6000.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sem6000.py b/sem6000.py index df90f0a..2472775 100644 --- a/sem6000.py +++ b/sem6000.py @@ -63,7 +63,7 @@ class SEMSocket(): payload.append(0x00) payload.append(0x01) for i in range(4): - payload.append(int(self.newPassword[i])) + payload.append(int(newPassword[i])) for i in range(4): payload.append(int(self.password[i])) self.password = newPassword