cleanup server code
This commit is contained in:
parent
864b346ad0
commit
aa59f4d96d
1 changed files with 1 additions and 2 deletions
|
@ -4,7 +4,6 @@ from time import sleep
|
|||
from dataclasses import dataclass
|
||||
from datetime import datetime
|
||||
import serial
|
||||
import random
|
||||
|
||||
app = Flask(__name__)
|
||||
shared_message_log = []
|
||||
|
@ -107,4 +106,4 @@ def api():
|
|||
if __name__ == '__main__':
|
||||
thread = Thread(target=serial_reader, args=(shared_message_log, ))
|
||||
thread.start()
|
||||
app.run(debug=True, host='0.0.0.0')
|
||||
app.run(debug=True, host='0.0.0.0')
|
||||
|
|
Loading…
Reference in a new issue