fix: use function parameter in changePassword()

This commit is contained in:
Thomas Kolb 2020-01-28 15:54:36 +01:00
parent 80e6bbaaed
commit a0874625c7

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