Skip to content

Commit

Permalink
Merge pull request #130 from fiebiga/master
Browse files Browse the repository at this point in the history
Fixed defusedexpat expat import
  • Loading branch information
martinblech committed Jun 2, 2016
2 parents 05c171a + 7558190 commit 6dfdb10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmltodict.py
Expand Up @@ -2,7 +2,7 @@
"Makes working with XML feel like you are working with JSON"

try:
import defusedexpat as expat
from defusedexpat import pyexpat as expat
except ImportError:
from xml.parsers import expat
from xml.sax.saxutils import XMLGenerator
Expand Down

0 comments on commit 6dfdb10

Please sign in to comment.