summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utilities/blinkenrocket.py2
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])