fix/ran poetry run pre-commit run --all-files to format the file Signed-off-by: Franck Benichou franck.benichou@sciencespo.fr

Signed-off-by: Benichou <fbenichou@deloitte.ca>
This commit is contained in:
Benichou 2025-05-14 15:35:50 -04:00
parent 7468137c55
commit 6a432d9115

View File

@ -418,7 +418,13 @@ class MsPowerpointDocumentBackend(DeclarativeDocumentBackend, PaginatedDocumentB
drawing_blip = self.xpath_expr(shape.element)
if drawing_blip: # ensure there is a drawing blip
self.handle_pictures(
shape, parent_slide, slide_ind, doc, slide_size, drawing_blip, slide
shape,
parent_slide,
slide_ind,
doc,
slide_size,
drawing_blip,
slide,
)
# If shape doesn't have any text, move on to the next shape
if not hasattr(shape, "text"):