Fix wrong reference to new password

This commit is contained in:
sqozz 2020-05-02 19:20:29 +02:00
parent 80e6bbaaed
commit bc9f23187c

View file

@ -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