From 6c0215d2bf5a098aceed9e9d94d75d50ff2630db Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 27 Jun 2024 22:36:42 +0200 Subject: [PATCH] fix(ocpp-server): silence linter MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- tests/ocpp-server/server.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/ocpp-server/server.py b/tests/ocpp-server/server.py index 3001ebd8..034218d2 100644 --- a/tests/ocpp-server/server.py +++ b/tests/ocpp-server/server.py @@ -202,14 +202,6 @@ async def main(): ) logging.info("WebSocket Server Started") - args = parser.parse_args() - - if args.command: - for cp in ChargePoints: - asyncio.create_task( - send_ocpp_command(cp, args.command, args.delay, args.period) - ) - # Wait for the server to close (runs indefinitely). await server.wait_closed() -- 2.34.1