Fix version number writing
This commit is contained in:
parent
b9e5ffa2b3
commit
44ae06f84e
|
@ -4,7 +4,7 @@ def write_header(f):
|
|||
# b'WOT' magic
|
||||
f.write(b'WOT')
|
||||
# Version number
|
||||
f.write(bytes(0))
|
||||
f.write(bytes([0]))
|
||||
|
||||
def write_entry(f, salt, hashed_host, fingerprint, comment):
|
||||
"""write_entry(file(wb), bytes[32], bytes[32], bytes[32], bytes[0…2¹⁶-1])
|
||||
|
|
Loading…
Reference in New Issue