Skip to content

Commit

Permalink
Updated hasattr() to use evse_id
Browse files Browse the repository at this point in the history
  • Loading branch information
shalinnijel2 committed Nov 17, 2022
1 parent a325290 commit f70cc5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iso15118/shared/states.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def create_next_message(
try:
exi_payload = EXI().to_exi(to_be_exi_encoded, namespace)

if hasattr(self.comm_session, "evse_controller"):
if hasattr(self.comm_session, "evse_id"):
logger.trace(
f"{self.comm_session.evse_id}:::"
f"{exi_payload.hex()}:::"
Expand Down

0 comments on commit f70cc5f

Please sign in to comment.