try to import the version of elementtree that comes w/ python >= 2.5 first, before forcing a user to install the library
This commit is contained in:
parent
781b956394
commit
815f77e953
@ -23,7 +23,10 @@ import re
|
||||
import binascii
|
||||
import base64
|
||||
|
||||
import elementtree.ElementTree as ET
|
||||
try:
|
||||
import xml.etree.ElementTree as ET
|
||||
except:
|
||||
import elementtree.ElementTree as ET
|
||||
|
||||
from code import Code
|
||||
from binary import Binary
|
||||
|
||||
Loading…
Reference in New Issue
Block a user