updated log.warn to warning

Signed-off-by: Maksym Lysak <mly@zurich.ibm.com>
This commit is contained in:
Maksym Lysak 2024-11-11 15:22:48 +01:00
parent 4051c0bcfc
commit 4567b09d9f

View File

@ -375,7 +375,7 @@ class MsPowerpointDocumentBackend(DeclarativeDocumentBackend, PaginatedDocumentB
if len(shape.text.strip()) == 0:
return
if not shape.has_text_frame:
_log.warn("Warning: shape has text but not text_frame")
_log.warning("Warning: shape has text but not text_frame")
return
# Handle other text elements, including lists (bullet lists, numbered lists)
self.handle_text_elements(shape, parent_slide, slide_ind, doc)