diff --git a/psa_car_controller/psacc/application/car_controller.py b/psa_car_controller/psacc/application/car_controller.py index 5ab478f5..fb342836 100644 --- a/psa_car_controller/psacc/application/car_controller.py +++ b/psa_car_controller/psacc/application/car_controller.py @@ -15,6 +15,7 @@ from .psa_client import PSAClient from psa_car_controller.common.mylogger import my_logger from psa_car_controller.psa.otp.otp import CONFIG_NAME as OTP_CONFIG_NAME, ConfigException +from psa_car_controller import __version__ DEFAULT_NAME = "config.json" @@ -75,6 +76,8 @@ def start_remote_control(self): def load_app(self) -> bool: # pylint: disable=too-many-branches my_logger(handler_level=int(self.args.debug)) + + logger.info(f"App version {__version__}") if self.args.config: self.config_name = self.args.config if path.isfile(self.config_name):