From f2f570e3a4ab89b867f0783e50d18a0e76cae903 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Fri, 3 Apr 2009 20:49:24 +0200 Subject: * host/proto, host/inter, digital/asserv, digital/io: - reverted r693. - no longer count on implicit float to interger conversion. --- host/proto/proto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/proto/proto.py') diff --git a/host/proto/proto.py b/host/proto/proto.py index 0e56565a..e5f0af21 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, *[ int (i) for i in args ]) + self.args = struct.pack ('!' + fmt, *args) else: self.command = None self.args = '' -- cgit v1.2.3