mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 10:24:26 +01:00
correct path
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
This commit is contained in:
parent
90528bb7d9
commit
d17f5c964a
@ -209,7 +209,7 @@ class DoorHandler:
|
|||||||
return LogicResponse.AlreadyOpen
|
return LogicResponse.AlreadyOpen
|
||||||
|
|
||||||
self.state = DoorState.Open
|
self.state = DoorState.Open
|
||||||
start_hook('./scripts/post_unlock.sh')
|
start_hook('./scripts/post_unlock')
|
||||||
return LogicResponse.Success
|
return LogicResponse.Success
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
@ -217,7 +217,7 @@ class DoorHandler:
|
|||||||
return LogicResponse.AlreadyLocked
|
return LogicResponse.AlreadyLocked
|
||||||
|
|
||||||
self.state = DoorState.Close
|
self.state = DoorState.Close
|
||||||
start_hook('./scripts/post_lock.sh')
|
start_hook('./scripts/post_lock')
|
||||||
return LogicResponse.Success
|
return LogicResponse.Success
|
||||||
|
|
||||||
def request(self, state):
|
def request(self, state):
|
||||||
|
Loading…
Reference in New Issue
Block a user