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