doorlockd: minor simplification

Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
This commit is contained in:
Ralf Ramsauer 2018-09-08 00:30:16 +02:00
parent d5215ea0fc
commit 4f95021fcf
1 changed files with 0 additions and 3 deletions

View File

@ -284,9 +284,6 @@ class DoorHandler:
elif self.state == DoorState.Open:
tx = DoorHandler.CMD_OPEN
else:
tx = None
if not tx:
continue
self.serial.write(tx)