From b8c8045ffdff1e0d5337398563ed6b86d3661040 Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Thu, 5 May 2011 14:19:14 +0800 Subject: modified recv() to accept a buffer length argument in usbsock.py --- nxt-python-fantom/nxt/brick.py | 1 + 1 file changed, 1 insertion(+) (limited to 'nxt-python-fantom/nxt/brick.py') diff --git a/nxt-python-fantom/nxt/brick.py b/nxt-python-fantom/nxt/brick.py index 740ccbd..240ba27 100644 --- a/nxt-python-fantom/nxt/brick.py +++ b/nxt-python-fantom/nxt/brick.py @@ -217,6 +217,7 @@ class Brick(object): #TODO: this begs to have explicit methods sleep(duration / 1000.0) def __del__(self): + print "Deleting Brick" self.sock.close() find_files = FileFinder -- cgit v1.2.3