diff options
-rw-r--r-- | utilities/hammington2416.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utilities/hammington2416.py b/utilities/hammington2416.py index 46f76f7..8e60a33 100644 --- a/utilities/hammington2416.py +++ b/utilities/hammington2416.py @@ -25,7 +25,7 @@ for byte in f.read(): bytepos = 0 output += str(HammingCalculateParity2416(ord(oldbyte), ord(byte))) if bytepos == 1: - output += " " - output += str(HammingCalculateParity2416(ord(oldbyte), ord(" "))) + output += "\x00" + output += str(HammingCalculateParity2416(ord(oldbyte), ord("\x00"))) print output
\ No newline at end of file |