mirror of
https://github.com/DS4SD/docling.git
synced 2025-08-02 07:22:14 +00:00
reformatted the code
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
This commit is contained in:
parent
60c2a860c4
commit
d1b24c27e5
@ -332,7 +332,7 @@ class MsExcelDocumentBackend(DeclarativeDocumentBackend):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
pil_image = PILImage.open(image.ref)
|
pil_image = PILImage.open(image.ref)
|
||||||
|
|
||||||
doc.add_picture(
|
doc.add_picture(
|
||||||
parent=self.parents[0],
|
parent=self.parents[0],
|
||||||
image=ImageRef.from_pil(image=pil_image, dpi=72),
|
image=ImageRef.from_pil(image=pil_image, dpi=72),
|
||||||
@ -383,5 +383,5 @@ class MsExcelDocumentBackend(DeclarativeDocumentBackend):
|
|||||||
print(exc)
|
print(exc)
|
||||||
continue
|
continue
|
||||||
"""
|
"""
|
||||||
|
|
||||||
return doc
|
return doc
|
||||||
|
Loading…
Reference in New Issue
Block a user