summaryrefslogtreecommitdiff
path: root/host/proto
diff options
context:
space:
mode:
authorNicolas Schodet2009-03-30 00:19:45 +0200
committerNicolas Schodet2009-03-30 00:19:45 +0200
commit2a8c99d6bab4bbdb93cd825c21720b1596122757 (patch)
treecf607f6c5be5bdeb47c9f61b35f5d91dece715a9 /host/proto
parentba92602a89ca4630e4defcede51825963f32aa44 (diff)
* host/proto:
- convert to int before sending.
Diffstat (limited to 'host/proto')
-rw-r--r--host/proto/proto.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/proto/proto.py b/host/proto/proto.py
index e5f0af21..0e56565a 100644
--- a/host/proto/proto.py
+++ b/host/proto/proto.py
@@ -158,7 +158,7 @@ class Frame:
if command:
assert len (command) == 1 and command.isalpha ()
self.command = command
- self.args = struct.pack ('!' + fmt, *args)
+ self.args = struct.pack ('!' + fmt, *[ int (i) for i in args ])
else:
self.command = None
self.args = ''