fix: use function parameter in changePassword() #14

Manually merged
sqozz merged 1 commit from cfr34k/sem6000:fix_changePassword into master 2020-05-02 19:22:39 +02:00
Showing only changes of commit a0874625c7 - Show all commits

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