cleanup: fix duplicate app_gps import, remove debug prints from index route
Co-authored-by: Copilot <[email protected]>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from flask import Flask, render_template, make_response, json, jsonify, request, send_file, Response
|
||||
from modules import app_gps, app_events, app_car, app_account, app_gps,app_obd, app_sql, app_dash, app_upload, app_video, app_health, app_alerts, app_settings, app_network
|
||||
from modules import app_gps, app_events, app_car, app_account, app_obd, app_sql, app_dash, app_upload, app_video, app_health, app_alerts, app_settings, app_network
|
||||
import os, time
|
||||
from gevent.pywsgi import WSGIServer
|
||||
|
||||
@@ -17,8 +17,6 @@ app_alerts.start_alerting()
|
||||
|
||||
@app.route('/')
|
||||
def index():
|
||||
print("hello "+ account.name)
|
||||
print("you're car model is:" + car.model)
|
||||
return render_template('index.html', account=account, car=car)
|
||||
|
||||
@app.route('/dtc')
|
||||
|
||||
Reference in New Issue
Block a user