We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 171ee01 commit 386da6fCopy full SHA for 386da6f
1 file changed
mammoth/docx/body_xml.py
@@ -214,7 +214,7 @@ def inline(element):
214
return _read_blips(blips, alt_text)
215
216
def _read_blips(blips, alt_text):
217
- return _ReadResult.concat(map(lambda blip: _read_blip(blip, alt_text), blips))
+ return _ReadResult.concat(lists.map(lambda blip: _read_blip(blip, alt_text), blips))
218
219
def _read_blip(element, alt_text):
220
return _read_image(lambda: _find_blip_image(element), alt_text)
@@ -314,7 +314,7 @@ def read(element):
314
315
def _read_xml_elements(nodes):
316
elements = filter(lambda node: isinstance(node, XmlElement), nodes)
317
- return _ReadResult.concat(map(read, elements))
+ return _ReadResult.concat(lists.map(read, elements))
318
319
return read, _read_xml_elements
320
0 commit comments