From 2a8c99d6bab4bbdb93cd825c21720b1596122757 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Mon, 30 Mar 2009 00:19:45 +0200 Subject: * host/proto: - convert to int before sending. --- host/proto/proto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/proto') 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 = '' -- cgit v1.2.3