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

View File

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