From 857b9d2d88505112934759be227e57cd40b543f5 Mon Sep 17 00:00:00 2001 From: Jesse Jung Date: Wed, 27 Mar 2024 10:35:20 +0900 Subject: [PATCH] fix get_default_values issue --- dbcfeederlib/dbc2vssmapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbcfeederlib/dbc2vssmapper.py b/dbcfeederlib/dbc2vssmapper.py index 12400c1..3e6cd72 100644 --- a/dbcfeederlib/dbc2vssmapper.py +++ b/dbcfeederlib/dbc2vssmapper.py @@ -512,7 +512,7 @@ def get_default_values(self, can_id) -> Dict[str, Any]: res = {} for signal in self.get_signals_by_frame_id(can_id): if signal.name in self._dbc_default: - res[signal.name] = self._dbc_default[signal] + res[signal.name] = self._dbc_default[signal.name] else: log.error("No default value for CAN signal %s in message with frame ID %#x", signal.name, can_id) return res