reformatted the code

Signed-off-by: Peter Staar <taa@zurich.ibm.com>
This commit is contained in:
Peter Staar 2025-01-24 16:32:51 +01:00
parent 60c2a860c4
commit d1b24c27e5

View File

@ -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