summaryrefslogtreecommitdiff
path: root/nxt-python-fantom
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-03-01 15:51:11 +0800
committerTat-Chee Wan (USM)2011-03-01 15:51:11 +0800
commit4ca74ae715848ddc6cb3272a8b2c655240d70180 (patch)
tree701f08f293c0f229ec659a51fbf0b52ba66e2718 /nxt-python-fantom
parentedf4a348de0ddaf3bd0429d3cbb7dacc3b748954 (diff)
modified module name to pyfantom
Diffstat (limited to 'nxt-python-fantom')
-rw-r--r--nxt-python-fantom/nxt/fantomglue.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/nxt-python-fantom/nxt/fantomglue.py b/nxt-python-fantom/nxt/fantomglue.py
index a987a7e..4a2497a 100644
--- a/nxt-python-fantom/nxt/fantomglue.py
+++ b/nxt-python-fantom/nxt/fantomglue.py
@@ -14,7 +14,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-import fantom
+import pyfantom
FANTOM_BT='BT'
FANTOM_USB='USB'
@@ -22,7 +22,7 @@ FANTOM_USB='USB'
def discover_devices(lookup_names=False): # parameter is ignored
pairs = []
- d = fantom.finddevices(proto = FANTOM_BT)
+ d = pyfantom.finddevices(proto = FANTOM_BT)
for p in d:
h = p[0]
n = p[1]
@@ -33,7 +33,7 @@ class BluetoothSocket:
def __init__(self, proto = FANTOM_BT, _sock=None):
if _sock is None:
- _sock = fantom.socket(proto)
+ _sock = pyfantom.socket(proto)
self._sock = _sock
self._proto = proto