Removed data length
This commit is contained in:
parent
858b95fb48
commit
fbae43c542
|
@ -104,9 +104,8 @@ async def handle(ws, path):
|
|||
await send_error(b"Flight not found")
|
||||
else:
|
||||
data = flights[uuid].get_all()
|
||||
await cli.ws.send(struct.pack(b"<BI%ds" % len(data),
|
||||
await cli.ws.send(struct.pack(b"<B%ds" % len(data),
|
||||
3, # packet_id
|
||||
len(data),
|
||||
data
|
||||
))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user