mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-30 06:11:09 -07:00
Merge remote-tracking branch 'origin/master' into CURA-7492_Change_how_the_connection_status_is_determined
This commit is contained in:
commit
6071161d88
6 changed files with 224 additions and 1 deletions
|
|
@ -465,7 +465,7 @@ class XmlMaterialProfile(InstanceContainer):
|
|||
return "materials"
|
||||
|
||||
@classmethod
|
||||
def getVersionFromSerialized(cls, serialized: str) -> Optional[int]:
|
||||
def getVersionFromSerialized(cls, serialized: str) -> int:
|
||||
data = ET.fromstring(serialized)
|
||||
|
||||
version = XmlMaterialProfile.Version
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue