mirror of
https://github.com/flobz/psa_car_controller.git
synced 2026-08-22 09:26:16 +00:00
optimize return
This commit is contained in:
committed by
Florian BEZANNIER
parent
24df451ec0
commit
89e60083d4
+2
-2
@@ -264,8 +264,8 @@ def update_trips():
|
||||
max_date = chargings[-1]["start_at"]
|
||||
except AssertionError:
|
||||
logger.debug("No chargings yet")
|
||||
if min_date is None:
|
||||
return
|
||||
if min_date is None:
|
||||
return
|
||||
# update for slider
|
||||
try:
|
||||
logger.debug("min_date:%s - max_date:%s",min_date, max_date)
|
||||
|
||||
Reference in New Issue
Block a user