fix: [sync client] debug

pull/586/head
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
1 changed files with 1 additions and 2 deletions

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)