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

Commit

Permalink
Using standard xml.etree by default and fallback to lxml if that is n…
Browse files Browse the repository at this point in the history
…ot available
  • Loading branch information
djinn committed Feb 18, 2012
1 parent 53a0e3d commit f86d3f8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docx.py
Expand Up @@ -8,7 +8,10 @@
'''

import logging
from lxml import etree
try:
from xml.etree import ElementTree as etree
except ImportError:
from lxml import etree
try:
from PIL import Image
except ImportError:
Expand Down

0 comments on commit f86d3f8

Please sign in to comment.