From 5525df04e959c6b346d95e036251dfb2bf89a97f Mon Sep 17 00:00:00 2001 From: Florian Bezannier Date: Fri, 14 May 2021 13:21:33 +0200 Subject: [PATCH] add more info to log --- libs/car_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/car_model.py b/libs/car_model.py index 035e4bb..39c23df 100644 --- a/libs/car_model.py +++ b/libs/car_model.py @@ -31,7 +31,7 @@ class CarModel: if carmodel.match(vin): return carmodel logger.warning("Can't get car model, please report an issue on github with your car model" - " and first ten letter of your VIN") + " and first ten letter of your VIN : %s", vin[:10]) return CarModel("unknown", DEFAULT_BATTERY_POWER, DEFAULT_FUEL_CAPACITY) @staticmethod