From 0e56549082954483ed1bd3be85bf8175576ca26f Mon Sep 17 00:00:00 2001 From: Maksym Lysak Date: Thu, 14 Nov 2024 11:38:22 +0100 Subject: [PATCH] removed base64 dependency in msword_backend Signed-off-by: Maksym Lysak --- docling/backend/msword_backend.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/docling/backend/msword_backend.py b/docling/backend/msword_backend.py index 25e211c2..089e94c2 100644 --- a/docling/backend/msword_backend.py +++ b/docling/backend/msword_backend.py @@ -1,4 +1,3 @@ -import base64 import logging from io import BytesIO from pathlib import Path @@ -491,7 +490,6 @@ class MsWordDocumentBackend(DeclarativeDocumentBackend): def handle_pictures(self, element, docx_obj, drawing_blip, doc): def get_docx_image(element, drawing_blip): - base64_image_data = None rId = drawing_blip[0].get( "{http://schemas.openxmlformats.org/officeDocument/2006/relationships}embed" )