Compare commits
No commits in common. "f6461273ab67a08ab15ef6e272f1482c8a65d9a9" and "f8161f34fa83f178643e5c16632e8df5ac9b6d03" have entirely different histories.
f6461273ab
...
f8161f34fa
@ -107,14 +107,4 @@ class Server:
|
||||
def startServer(self):
|
||||
while True:
|
||||
message = self.networkInstance.recieveMessage().decode('UTF-8')
|
||||
command = self.parseCommand(message)
|
||||
#ha LINOK vagy LINERROR donothing
|
||||
if command == "LINERROR" or command == "LINOK" or command == "ERROR":
|
||||
print("not right commands")
|
||||
elif len(command) == 1:
|
||||
execute_message = self.execute(self,command, "", "")
|
||||
elif len(command) == 2:
|
||||
execute_message = self.execute(self, command, command[1], "")
|
||||
elif len(command) == 3:
|
||||
execute_message = self.execute(self, command, command[1], command[2])
|
||||
self.networkInstance.sendMessage(self, execute_message)
|
||||
self.parseCommand(message)
|
||||
|
Loading…
Reference in New Issue
Block a user