From 4faf9a970a58487d14deae1dc101f3da30cb403f Mon Sep 17 00:00:00 2001 From: "DESKTOP-DPA61F8\\Benedek" Date: Mon, 26 Apr 2021 21:31:46 +0200 Subject: [PATCH] LIN need only one param --- client/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client.py b/client/client.py index e009b0a..10f3f9d 100644 --- a/client/client.py +++ b/client/client.py @@ -99,7 +99,7 @@ while True: print("Invalid command format!") continue - if separatedCommand[0] == 'LIN' and len(separatedCommand) == 3: + if separatedCommand[0] == 'LIN' and len(separatedCommand) == 2: network = NetWrapper(CLIENT_PRIVATE_KEY, CLIENT_ADDRESS, separatedCommand[1], SERVER_PUBLIC_KEY) try: network.connectToServer(separatedCommand[2])