Merge branch 'master' of https://git.kmlabz.com/BiztProtoBois/client into master
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2021-04-26 21:52:39 +02:00
commit 3a20592cff
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -99,7 +99,7 @@ while True:
print("Invalid command format!") print("Invalid command format!")
continue 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) network = NetWrapper(CLIENT_PRIVATE_KEY, CLIENT_ADDRESS, separatedCommand[1], SERVER_PUBLIC_KEY)
try: try:
network.connectToServer(separatedCommand[2]) network.connectToServer(separatedCommand[2])