Fixed test handler.

This commit is contained in:
Tristan B. Kildaire 2020-05-14 10:55:51 +02:00
parent e0e7d5ffd0
commit cc934e5ec8
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ def runTest():
"header" : {
"status" : "0",
"command" : {"type" : "sendClients", "data": ["deavmi"]}
}, "data" : "length of your data: " + str(len(receivedBys)) + "\"" + receivedBys + "\"" })
}, "data" : "length of your data: " + str(len(receivedBys)) + "\"" + str(receivedBys) + "\"" })
print(s.send(len(bys).to_bytes(4, "little")))
print(s.send(bys.encode()))