mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 17:19:04 +08:00
3mf reader now gives warning if it couldn't load cElementTree
This commit is contained in:
parent
867463f718
commit
726b935b78
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user