mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-30 14:04:27 +00:00
updated log.warn to warning
Signed-off-by: Maksym Lysak <mly@zurich.ibm.com>
This commit is contained in:
parent
4051c0bcfc
commit
4567b09d9f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user