summaryrefslogtreecommitdiff
path: root/AT91SAM7S256/armdebug/nxt-python-fantom/nxt/usbsock.py
diff options
context:
space:
mode:
Diffstat (limited to 'AT91SAM7S256/armdebug/nxt-python-fantom/nxt/usbsock.py')
-rw-r--r--AT91SAM7S256/armdebug/nxt-python-fantom/nxt/usbsock.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/AT91SAM7S256/armdebug/nxt-python-fantom/nxt/usbsock.py b/AT91SAM7S256/armdebug/nxt-python-fantom/nxt/usbsock.py
index 78c21ab..9df7792 100644
--- a/AT91SAM7S256/armdebug/nxt-python-fantom/nxt/usbsock.py
+++ b/AT91SAM7S256/armdebug/nxt-python-fantom/nxt/usbsock.py
@@ -13,9 +13,9 @@
# GNU General Public License for more details.
try:
- import pyusbglue as usb
+ import fantomglue as usb
except ImportError:
- import pyfantom as usb
+ import pyusbglue as usb
from nxt.brick import Brick
@@ -25,7 +25,7 @@ class USBSock(object):
bsize = 60 # USB socket block size
def __init__(self, device):
- self.sock = USBSocket(device)
+ self.sock = usb.USBSocket(device)
self.debug = False
def __str__(self):