mirror of
https://github.com/iluvcapra/wavinfo.git
synced 2026-01-02 18:00:41 +00:00
Update umid_parser.py
This commit is contained in:
@@ -14,7 +14,7 @@ class UMIDParser:
|
|||||||
def binary_to_string(cls, binary_value):
|
def binary_to_string(cls, binary_value):
|
||||||
result_str = ''
|
result_str = ''
|
||||||
for n in range(len(binary_value)):
|
for n in range(len(binary_value)):
|
||||||
result_str = f'{binary_value[n]:x}' + result_str
|
result_str = '{:x}'.format(binary_value[n]) + result_str
|
||||||
|
|
||||||
return result_str
|
return result_str
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user