diff --git a/src/gallia/commands/scan/uds/sessions.py b/src/gallia/commands/scan/uds/sessions.py index b6333ed9e..98d38fccc 100644 --- a/src/gallia/commands/scan/uds/sessions.py +++ b/src/gallia/commands/scan/uds/sessions.py @@ -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 @@ -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)