From: Jérôme Benoit Date: Thu, 27 Jun 2024 20:36:42 +0000 (+0200) Subject: fix(ocpp-server): silence linter X-Git-Tag: v1.3.7~14 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=6c0215d2bf5a098aceed9e9d94d75d50ff2630db;p=e-mobility-charging-stations-simulator.git fix(ocpp-server): silence linter Signed-off-by: Jérôme Benoit --- 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()