Get rid of call to ord().

This commit is contained in:
Assaf Carlsbad
2021-02-26 01:32:26 +02:00
committed by Sae86
parent ea85aded78
commit 4a904ab45c
@@ -94,8 +94,8 @@ class access_uefispec(BaseModule):
if data1 is None or data2 is None:
return data1 != data2
oldstr = ":".join("{:02x}".format(ord(c)) for c in data1)
newstr = ":".join("{:02x}".format(ord(c)) for c in data2)
oldstr = ":".join("{:02x}".format(c) for c in data1)
newstr = ":".join("{:02x}".format(c) for c in data2)
if oldstr != newstr:
print (oldstr)