loopy loop, doesn't work, too many loops

This commit is contained in:
Mathieu Moran
2023-11-28 23:04:06 -05:00
parent 82f0c92e6c
commit 00e14db023
11 changed files with 19 additions and 20 deletions
+1 -2
View File
@@ -3,8 +3,8 @@ from flask import Flask, render_template, make_response, json
from app_events import socketio
port_number = 8000
app = Flask(__name__)
@app.route('/')
def index():
print("hello")
@@ -24,7 +24,6 @@ def data():
if __name__ == '__main__':
socketio.init_app(app)
p_obd_connection = threading.Thread(target=app_obd.obd_connection)
p_obd_connection.start()