diff --git a/src/gallia/commands/scan/uds/sa_dump_seeds.py b/src/gallia/commands/scan/uds/sa_dump_seeds.py index 93eb13201..453cfbd1e 100644 --- a/src/gallia/commands/scan/uds/sa_dump_seeds.py +++ b/src/gallia/commands/scan/uds/sa_dump_seeds.py @@ -87,7 +87,6 @@ def configure_parser(self) -> None: ) self.parser.add_argument( "--sleep", - default=0, type=float, metavar="FLOAT", help="Attempt to fool brute force protection by sleeping for N seconds between seed requests.", @@ -219,7 +218,7 @@ async def main(self, args: Namespace) -> None: # Re-enter session. Checking/logging will be done at the beginning of next iteration await self.ecu.set_session(session) - if args.sleep > 0: + if args.sleep is not None: logger.info(f"Sleeping for {args.sleep} seconds between seed requests…") await asyncio.sleep(args.sleep)