From 4567b09d9f49282c7e6a3ae86263add2ed1e9c18 Mon Sep 17 00:00:00 2001 From: Maksym Lysak Date: Mon, 11 Nov 2024 15:22:48 +0100 Subject: [PATCH] updated log.warn to warning Signed-off-by: Maksym Lysak --- docling/backend/mspowerpoint_backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docling/backend/mspowerpoint_backend.py b/docling/backend/mspowerpoint_backend.py index 5083509f..b71cd859 100644 --- a/docling/backend/mspowerpoint_backend.py +++ b/docling/backend/mspowerpoint_backend.py @@ -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)