Skip to content

Commit

Permalink
优化cannot import name 'OxmlElement' from 'docx.oxml'问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Syske authored and dothinking committed Jan 7, 2024
1 parent 248a319 commit bdb09fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdf2docx/common/docx.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
'''

from docx.shared import Pt
from docx.oxml import OxmlElement, parse_xml, register_element_cls
from docx.oxml.parser import OxmlElement, parse_xml, register_element_cls
from docx.oxml.ns import qn, nsdecls
from docx.oxml.shape import CT_Picture
from docx.oxml.xmlchemy import BaseOxmlElement, OneAndOnlyOne
Expand Down

0 comments on commit bdb09fb

Please sign in to comment.