Skip to content

Commit

Permalink
Reformatted
Browse files Browse the repository at this point in the history
  • Loading branch information
fkglr committed Mar 20, 2024
1 parent df2da4e commit f91fe2c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/gallia/commands/scan/uds/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
NegativeResponse,
UDSErrorCodes,
UDSRequestConfig,
UDSResponse,
)
from gallia.services.uds.core.constants import EcuResetSubFuncs
from gallia.services.uds.core.service import DiagnosticSessionControlResponse
from gallia.services.uds.core.utils import g_repr
from gallia.utils import auto_int
Expand Down Expand Up @@ -153,9 +151,7 @@ async def main(self, args: Namespace) -> None:
success = await self.ecu.leave_session(session)

if not success:
logger.warning(
f"Could not reset ECU; continuing without reset"
)
logger.warning("Could not reset ECU; continuing without reset")
else:
logger.info("Waiting for the ECU to recover…")
await self.ecu.wait_for_ecu(timeout=args.timeout)
Expand Down

0 comments on commit f91fe2c

Please sign in to comment.