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:
parent
90528bb7d9
commit
d17f5c964a
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user