mirror of
https://github.com/flobz/psa_car_controller.git
synced 2026-08-26 10:17:18 +00:00
try new method to update_trips v2
This commit is contained in:
+1
-1
@@ -115,6 +115,7 @@ def update_trips():
|
||||
|
||||
|
||||
try:
|
||||
web.db.callback_fct = update_trips
|
||||
update_trips()
|
||||
min_date = trips[0].start_at
|
||||
max_date = trips[-1].start_at
|
||||
@@ -158,4 +159,3 @@ dash_app.layout = dbc.Container(fluid=True, children=[
|
||||
data_div
|
||||
])
|
||||
|
||||
web.db.update_callback = update_trips
|
||||
Reference in New Issue
Block a user