Skip to content

Commit 15568dd

Browse files
committed
fix(annotation.py): block is not serializable error
1 parent fdf4f85 commit 15568dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vrdu/annotation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ def annotate(self):
612612
annotations = {}
613613

614614
annotations["annotations"] = [
615-
_block
615+
_block.to_dict()
616616
for page_index in self.layout_info.keys()
617617
for _block in self.layout_info[page_index]
618618
]

0 commit comments

Comments
 (0)