celementtree

This commit is contained in:
SpootDev 2016-06-28 18:28:01 -05:00
parent 470286b2fb
commit 9a5bd10d40
2 changed files with 8 additions and 2 deletions

View file

@ -11,7 +11,10 @@ import StringIO
import os import os
import time import time
import unicodedata import unicodedata
import xml.etree.ElementTree as etree try:
import xml.etree.cElementTree as etree
except ImportError:
import xml.etree.ElementTree as etree
from datetime import datetime from datetime import datetime
import xbmc import xbmc

View file

@ -3,7 +3,10 @@
################################################################################################# #################################################################################################
import shutil import shutil
import xml.etree.ElementTree as etree try:
import xml.etree.cElementTree as etree
except ImportError:
import xml.etree.ElementTree as etree
import xbmc import xbmc
import xbmcaddon import xbmcaddon