suqingdong / docx_parser

Parse all contents of a docx file with python-docx
4 stars 2 forks source link

Patch: Skip unparsable word drawings #1

Closed phoehnel closed 1 year ago

phoehnel commented 1 year ago

The current version seems to be unable to parse drawing areas in word which leads to a crash when trying to parse a document containing them.

This Change just skips this process on errors, which made the document parse for me.