fix/adding a commit with a signature Signed-off-by: Franck Benichou franck.benichou@sciencespo.fr

Signed-off-by: Benichou <fbenichou@deloitte.ca>
This commit is contained in:
Benichou 2025-04-08 01:00:12 -04:00
parent b7c3f2e984
commit 02f77bbabd

View File

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