From 4ca74ae715848ddc6cb3272a8b2c655240d70180 Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Tue, 1 Mar 2011 15:51:11 +0800 Subject: modified module name to pyfantom --- nxt-python-fantom/nxt/fantomglue.py | 6 +++--- 1 file 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 -- cgit v1.2.3