Skip to content

Commit

Permalink
[ENH] Display in log at startup
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikado8231 committed Nov 20, 2023
1 parent 78f566c commit c8312f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions psa_car_controller/psacc/application/car_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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("App version %s", __version__)
if self.args.config:
self.config_name = self.args.config
if path.isfile(self.config_name):
Expand Down

0 comments on commit c8312f3

Please sign in to comment.