diff options
author | Sebastian Muszytowski <sebastian@muszytowski.net> | 2016-02-12 19:59:57 +0100 |
---|---|---|
committer | Sebastian Muszytowski <sebastian@muszytowski.net> | 2016-02-12 19:59:57 +0100 |
commit | 69aaeb6af4d21ddffcce34ccc45691ec42010ed6 (patch) | |
tree | 40b403d38d5267748f0c8d316277e50fe5509c41 /utilities/blinkenrocket.py | |
parent | 6555c3d51587aba3bcb8e0a7e3614f7c2478b4f7 (diff) |
fixed type
Diffstat (limited to 'utilities/blinkenrocket.py')
-rw-r--r-- | utilities/blinkenrocket.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utilities/blinkenrocket.py b/utilities/blinkenrocket.py index 696d780..b1ce153 100644 --- a/utilities/blinkenrocket.py +++ b/utilities/blinkenrocket.py @@ -77,7 +77,7 @@ class modem: tmpdata = [] # for uneven length data, we have to append a null byte if not len(self.data) % 2 == 0: - self.data.append(ord(0)) + self.data.append('0x00') # insert the parity information every two bytes, sorry for the heavy casting for index in range(0, len(self.data), 2): tmpdata.extend(self.data[index:index+2]) |