mirror of
https://github.com/flobz/psa_car_controller.git
synced 2026-08-26 10:17:18 +00:00
fix load order
This commit is contained in:
+1
-1
@@ -436,8 +436,8 @@ def serve_layout():
|
||||
|
||||
|
||||
try:
|
||||
Database.set_db_callback(update_trips)
|
||||
Charging.set_default_price()
|
||||
Database.set_db_callback(update_trips)
|
||||
update_trips()
|
||||
except (IndexError, TypeError):
|
||||
logger.debug("Failed to get trips, there is probably not enough data yet:", exc_info=True)
|
||||
|
||||
Reference in New Issue
Block a user