This commit is contained in:
parent
62dd8872d6
commit
3d1178d8ac
@ -32,7 +32,7 @@ class Server:
|
|||||||
def parseCommand(self, command: str) -> None:
|
def parseCommand(self, command: str) -> None:
|
||||||
if command == "LINOK":
|
if command == "LINOK":
|
||||||
self.login(self.networkInstance.homeDirectory)
|
self.login(self.networkInstance.homeDirectory)
|
||||||
self.networkInstance.sendMessage("LINOK".encode('UTF-8'))
|
self.networkInstance.sendMessage("OK".encode('UTF-8'))
|
||||||
elif command == "LINERROR":
|
elif command == "LINERROR":
|
||||||
self.networkInstance.sendMessage("LINERROR".encode('UTF-8'))
|
self.networkInstance.sendMessage("LINERROR".encode('UTF-8'))
|
||||||
elif command == "ERROR":
|
elif command == "ERROR":
|
||||||
|
Loading…
Reference in New Issue
Block a user