Skip to content

Commit

Permalink
fix(ecu): Fix overlooked retries case after semantic change of max-re…
Browse files Browse the repository at this point in the history
…tries
  • Loading branch information
fkglr authored and rumpelsepp committed Jan 21, 2025
1 parent ec098cb commit ecd9305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gallia/services/uds/ecu.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ async def check_and_set_session(
if current_session == expected_session:
return True

for i in range(retries):
for i in range(retries + 1):
logger.warning(
f"Not in session {g_repr(expected_session)}, ECU replied with {g_repr(current_session)}"
)
Expand Down

0 comments on commit ecd9305

Please sign in to comment.