[tuxdroid-svn] r454 - api/python/trunk
Status: Beta
Brought to you by:
ks156
From: jaguarondi <c2m...@c2...> - 2007-06-26 09:31:12
|
Author: jaguarondi Date: 2007-06-26 11:30:43 +0200 (Tue, 26 Jun 2007) New Revision: 454 Modified: api/python/trunk/tuxapi_class.py Log: * Fixed bug #36 when printing status in the API. Modified: api/python/trunk/tuxapi_class.py =================================================================== --- api/python/trunk/tuxapi_class.py 2007-06-25 18:55:50 UTC (rev 453) +++ api/python/trunk/tuxapi_class.py 2007-06-26 09:30:43 UTC (rev 454) @@ -163,7 +163,7 @@ self.tcp_data_fifo_event.append(tmp_tcp_data) self.tcp_data_fifo_event_mutex.release() if self.print_status: - struct_data = ["%.2x" % ord(datae) for datae in self.tcp_data] + struct_data = ["%.2x" % ord(datae) for datae in tmp_tcp_data] print " ".join(struct_data) time.sleep(0.01) |