3mf reader now gives warning if it couldn't load cElementTree

This commit is contained in:
Jaime van Kessel 2016-11-04 17:03:52 +01:00
parent 867463f718
commit 726b935b78

View file

@ -16,6 +16,7 @@ import zipfile
try:
import xml.etree.cElementTree as ET
Logger.log("w", "Unable to load cElementTree, switching to slower version")
except ImportError:
import xml.etree.ElementTree as ET