forked from sqozz/sem6000
fix: use function parameter in changePassword()
This commit is contained in:
parent
80e6bbaaed
commit
a0874625c7
|
@ -63,7 +63,7 @@ class SEMSocket():
|
||||||
payload.append(0x00)
|
payload.append(0x00)
|
||||||
payload.append(0x01)
|
payload.append(0x01)
|
||||||
for i in range(4):
|
for i in range(4):
|
||||||
payload.append(int(self.newPassword[i]))
|
payload.append(int(newPassword[i]))
|
||||||
for i in range(4):
|
for i in range(4):
|
||||||
payload.append(int(self.password[i]))
|
payload.append(int(self.password[i]))
|
||||||
self.password = newPassword
|
self.password = newPassword
|
||||||
|
|
Loading…
Reference in a new issue