mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
3mf reader now gives warning if it couldn't load cElementTree
This commit is contained in:
parent
867463f718
commit
726b935b78
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ import zipfile
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import xml.etree.cElementTree as ET
|
import xml.etree.cElementTree as ET
|
||||||
|
Logger.log("w", "Unable to load cElementTree, switching to slower version")
|
||||||
except ImportError:
|
except ImportError:
|
||||||
import xml.etree.ElementTree as ET
|
import xml.etree.ElementTree as ET
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue