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
1 changed files with 2 additions and 2 deletions

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):