From bc9f23187ccab3298a9c446eebbe26e37d0dd75a Mon Sep 17 00:00:00 2001 From: sqozz Date: Sat, 2 May 2020 19:20:29 +0200 Subject: [PATCH] Fix wrong reference to new password --- 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