style: fix

This commit is contained in:
Florian Bezannier
2024-03-23 16:42:17 +01:00
parent a70b5c7d45
commit 56892083e6
+2
View File
@@ -186,6 +186,7 @@ def settings_section(section: str):
APP.config.write_config()
return json_response(config_section.json())
@app.route('/vehicles/trips')
def get_trips():
try:
@@ -208,6 +209,7 @@ def get_chargings():
logger.debug("Failed to get chargings, there is probably not enough data yet:", exc_info=True)
return jsonify([])
@app.route('/settings')
def settings():
return json_response(APP.config.json())