1
0
mirror of https://github.com/etesync/server synced 2024-11-22 16:58:08 +00:00

Fix prefetch medium.

This commit is contained in:
Tom Hacohen 2020-12-28 18:17:41 +02:00
parent f7858a20b7
commit dcf81aa9ce

View File

@ -55,7 +55,7 @@ class CollectionItemRevisionInOut(BaseModel):
with open(chunk_obj.chunkFile.path, "rb") as f:
chunks.append((chunk_obj.uid, f.read()))
else:
chunks.append((chunk_obj.uid,))
chunks.append((chunk_obj.uid, None))
return cls(uid=obj.uid, meta=bytes(obj.meta), deleted=obj.deleted, chunks=chunks)