Update umid_parser.py

Removed type annotation which seems to die in Python 3.5
This commit is contained in:
Jamie Hardt
2020-01-02 17:38:32 -08:00
parent 8d44d411d7
commit b4613ed6f4

View File

@@ -51,7 +51,7 @@ class UMIDParser:
@property
def material_number_creation_method(self) -> str:
method_byte: int = self.raw_umid[11]
method_byte = self.raw_umid[11]
method_byte = (method_byte << 4) & 0xf
if method_byte == 0x0:
return 'undefined'