Update umid_parser.py

This commit is contained in:
Jamie Hardt
2020-01-05 14:29:46 -08:00
committed by GitHub
parent dbbc0683f5
commit 5824406ae6

View File

@@ -14,7 +14,7 @@ class UMIDParser:
def binary_to_string(cls, binary_value):
result_str = ''
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