fix: [sync client] debug

This commit is contained in:
Terrtia 2022-05-17 14:51:35 +02:00
parent 7e62d0f857
commit c116713dc9
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -78,9 +78,8 @@ async def push(websocket, ail_uuid):
Obj, queue_uuid = ail_2_ail.get_sync_queue_object_and_queue_uuid(ail_uuid) Obj, queue_uuid = ail_2_ail.get_sync_queue_object_and_queue_uuid(ail_uuid)
if Obj: if Obj:
obj_ail_stream = ail_2_ail.create_ail_stream(Obj) obj_ail_stream = ail_2_ail.create_ail_stream(Obj)
obj_ail_stream = json.dumps(obj_ail_stream)
print(obj_ail_stream['meta']) print(obj_ail_stream['meta'])
obj_ail_stream = json.dumps(obj_ail_stream)
# send objects # send objects
await websocket.send(obj_ail_stream) await websocket.send(obj_ail_stream)