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()