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

doorlockd: Flask: disable use_reloader

This spawns the process twice which duplicates the UART thread, which,
of course, leads to silly races.

Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
This commit is contained in:
Ralf Ramsauer 2018-09-07 22:03:28 +02:00
parent d5a41a596d
commit e3491aaa45

View File

@ -503,6 +503,6 @@ if __name__ == '__main__':
logic = Logic() logic = Logic()
socketio.run(webapp, host=host, port=8080) socketio.run(webapp, host=host, port=8080, use_reloader=False)
sys.exit(0) sys.exit(0)