Put the XML warning in the right spot

This commit is contained in:
Jaime van Kessel 2016-11-04 17:12:20 +01:00
parent d367747e87
commit 35a4fe60d0

View file

@ -16,8 +16,8 @@ import zipfile
try:
import xml.etree.cElementTree as ET
Logger.log("w", "Unable to load cElementTree, switching to slower version")
except ImportError:
Logger.log("w", "Unable to load cElementTree, switching to slower version")
import xml.etree.ElementTree as ET
## Base implementation for reading 3MF files. Has no support for textures. Only loads meshes!