mirror of
https://github.com/iluvcapra/wavinfo.git
synced 2026-01-02 09:50:41 +00:00
Update umid_parser.py
Removed type annotation which seems to die in Python 3.5
This commit is contained in:
@@ -51,7 +51,7 @@ class UMIDParser:
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def material_number_creation_method(self) -> str:
|
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
|
method_byte = (method_byte << 4) & 0xf
|
||||||
if method_byte == 0x0:
|
if method_byte == 0x0:
|
||||||
return 'undefined'
|
return 'undefined'
|
||||||
|
|||||||
Reference in New Issue
Block a user