From 193195f693e0038ff5426d651ca9bdf9dd5326aa Mon Sep 17 00:00:00 2001 From: "Jarisch, Ferdinand" Date: Wed, 27 Sep 2023 09:19:06 +0200 Subject: [PATCH] fix(prim-rdbi): Log actual target string instead of object address --- src/gallia/commands/primitive/uds/read_by_identifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallia/commands/primitive/uds/read_by_identifier.py b/src/gallia/commands/primitive/uds/read_by_identifier.py index 323a8aa71..ed56363cd 100644 --- a/src/gallia/commands/primitive/uds/read_by_identifier.py +++ b/src/gallia/commands/primitive/uds/read_by_identifier.py @@ -53,6 +53,6 @@ async def main(self, args: Namespace) -> None: logger.info(f"hex: {data.hex()}") logger.info(f"raw: {repr(data)}") logger.result( - f"{self.ecu.transport.target} responds to {args.data_id:#06x} with {data.hex()}" + f"{self.ecu.transport.target.raw} responds to {args.data_id:#06x} with {data.hex()}" ) self.result = data