1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-22 02:14:26 +01:00

correct path

Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
This commit is contained in:
Ralf Ramsauer 2018-03-19 18:54:18 +01:00
parent 90528bb7d9
commit d17f5c964a

View File

@ -209,7 +209,7 @@ class DoorHandler:
return LogicResponse.AlreadyOpen
self.state = DoorState.Open
start_hook('./scripts/post_unlock.sh')
start_hook('./scripts/post_unlock')
return LogicResponse.Success
def close(self):
@ -217,7 +217,7 @@ class DoorHandler:
return LogicResponse.AlreadyLocked
self.state = DoorState.Close
start_hook('./scripts/post_lock.sh')
start_hook('./scripts/post_lock')
return LogicResponse.Success
def request(self, state):