1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-05-29 02:45:07 +02:00

WebApp: remove duplicate function definition

This commit is contained in:
Markus 2021-10-18 18:22:31 +02:00 committed by Ralf Ramsauer
parent ebb0ea0527
commit 15ff2c0293

View File

@ -50,10 +50,6 @@ def emit_doorstate(response=None):
evt.clear() evt.clear()
def event_str():
return "data: {}\n\n".format(json_push_state)
def push_state(): def push_state():
def event_str(): def event_str():
return "data: {}\n\n".format(json_push_state) return "data: {}\n\n".format(json_push_state)