Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhostkeeper <rubend@tutanota.com>2020-06-15 14:58:12 +0300
committerGhostkeeper <rubend@tutanota.com>2020-06-15 14:58:12 +0300
commit0f3a977a588ddb8ccc4c9e6dc97c1494fb25b8bd (patch)
tree3e111200f0e655d4676efcf1a2b88d4e19d7a93c /plugins/XmlMaterialProfile
parent09298eac935447cf5935dddb8e5d752f98b0a364 (diff)
Consistent typing with function this is overriding
The function in the parent class has changed its type in commit 7968fe6d56205b20be9ba47e5a19be9f5914b084. This one should also change type.
Diffstat (limited to 'plugins/XmlMaterialProfile')
-rw-r--r--plugins/XmlMaterialProfile/XmlMaterialProfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/XmlMaterialProfile/XmlMaterialProfile.py b/plugins/XmlMaterialProfile/XmlMaterialProfile.py
index 7978c0cdba..6fe4d4242b 100644
--- a/plugins/XmlMaterialProfile/XmlMaterialProfile.py
+++ b/plugins/XmlMaterialProfile/XmlMaterialProfile.py
@@ -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