fixed ApiException 400

fix #678 
fix #674
This commit is contained in:
mdkeil
2023-11-25 12:15:13 +01:00
committed by Florian BEZANNIER
parent 8b0c625440
commit cd3ec2a1a9
@@ -102,7 +102,7 @@ class PSAClient:
else:
for _ in range(0, 2):
try:
res = self.api().get_vehicle_status(car.vehicle_id, extension=["odometer"])
res = self.api().get_vehicle_status(car.vehicle_id)
if res is not None:
car.status = res
if self._record_enabled: