Because of 4b1767f7360313654784d4004764e32e6c25ce40 the list of products might also include Tesla home batteries, Tesla chargers, etc. So we need to only select the cars from the list.
Also, the return value of addVehicle() is not used. So instead of returning False when no vehicle is added, I removed the return altogether.
Because of 4b1767f7360313654784d4004764e32e6c25ce40 the list of products might also include Tesla home batteries, Tesla chargers, etc. So we need to only select the cars from the list.
Also, the return value of
addVehicle()
is not used. So instead of returningFalse
when no vehicle is added, I removed the return altogether.