Fix wrong reference to new password

fix/password
sqozz 3 years ago
parent 80e6bbaaed
commit bc9f23187c
  1. 2
      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

Loading…
Cancel
Save