From e7e2ee4a00f4acf836fb0e49e3343acaf50fd986 Mon Sep 17 00:00:00 2001 From: "DESKTOP-DPA61F8\\Benedek" Date: Mon, 26 Apr 2021 13:51:16 +0200 Subject: [PATCH] Len in LIN --- client/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client.py b/client/client.py index a47fa67..ee5955e 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()