diff options
author | Ghostkeeper <rubend@tutanota.com> | 2020-06-15 14:58:12 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2020-06-15 14:58:12 +0300 |
commit | 0f3a977a588ddb8ccc4c9e6dc97c1494fb25b8bd (patch) | |
tree | 3e111200f0e655d4676efcf1a2b88d4e19d7a93c /plugins/XmlMaterialProfile/XmlMaterialProfile.py | |
parent | 09298eac935447cf5935dddb8e5d752f98b0a364 (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/XmlMaterialProfile.py')
-rw-r--r-- | plugins/XmlMaterialProfile/XmlMaterialProfile.py | 2 |
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 |