Skip to content
This repository was archived by the owner on Jan 12, 2018. It is now read-only.

Commit 9a2ef3f

Browse files
committed
xml.etree seems not to support xpath
1 parent 7f0781e commit 9a2ef3f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

docx.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@
88
'''
99

1010
import logging
11-
try:
12-
from xml.etree import ElementTree as etree
13-
except ImportError:
14-
from lxml import etree
11+
from lxml import etree
1512
try:
1613
from PIL import Image
1714
except ImportError:

0 commit comments

Comments
 (0)