Fix typo
This commit is contained in:
parent
a0f164d176
commit
e856fffaf5
|
@ -123,7 +123,7 @@ class DoorControlSocket(util.Loggable):
|
||||||
self._bell._protocol.send_light_msg()
|
self._bell._protocol.send_light_msg()
|
||||||
elif cmd == 'bell_perma_light':
|
elif cmd == 'bell_perma_light':
|
||||||
self._bell._protocol.doing_light ^= True
|
self._bell._protocol.doing_light ^= True
|
||||||
send("Turning the light on permanently: {self._bell._protocol.doing_light}")
|
send(f"Turning the light on permanently: {self._bell._protocol.doing_light}")
|
||||||
elif cmd == 'bell_raw':
|
elif cmd == 'bell_raw':
|
||||||
if (len(args) % 4) != 0:
|
if (len(args) % 4) != 0:
|
||||||
send(f"Invalid number of bytes: {len(args)}")
|
send(f"Invalid number of bytes: {len(args)}")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user