removed base64 dependency in msword_backend

Signed-off-by: Maksym Lysak <mly@zurich.ibm.com>
This commit is contained in:
Maksym Lysak 2024-11-14 11:38:22 +01:00
parent f197f908cb
commit 0e56549082

View File

@ -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"
)