Skip to content

Commit 0c063bb

Browse files
author
Willi Ballenthin
committed
nodes: binary parser returns bytes, not str
1 parent 9df078e commit 0c063bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Evtx/Nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1550,7 +1550,7 @@ def tag_length(self):
15501550
def string(self):
15511551
ret = "0x"
15521552
for c in self.hex()[::-1]:
1553-
ret += "{:02x}".format(ord(c))
1553+
ret += "{:02x}".format(c)
15541554
return ret
15551555

15561556

0 commit comments

Comments
 (0)