summaryrefslogtreecommitdiff
path: root/utilities/blinkenrocket.py
diff options
context:
space:
mode:
authorSebastian Muszytowski <sebastian@muszytowski.net>2016-02-12 19:59:57 +0100
committerSebastian Muszytowski <sebastian@muszytowski.net>2016-02-12 19:59:57 +0100
commit69aaeb6af4d21ddffcce34ccc45691ec42010ed6 (patch)
tree40b403d38d5267748f0c8d316277e50fe5509c41 /utilities/blinkenrocket.py
parent6555c3d51587aba3bcb8e0a7e3614f7c2478b4f7 (diff)
fixed type
Diffstat (limited to 'utilities/blinkenrocket.py')
-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])