# HG changeset patch # User laurent # Date 1260966419 -3600 # Node ID 27903000e4ea0da402c114c5670214a5965762a2 # Parent 6bd373f930f261d6f28cce81b64ceb390c892b22 Bug when pyserial not available fixed diff -r 6bd373f930f2 -r 27903000e4ea connectors/LPC/__init__.py --- a/connectors/LPC/__init__.py Tue Dec 15 20:51:51 2009 +0100 +++ b/connectors/LPC/__init__.py Wed Dec 16 13:26:59 2009 +0100 @@ -18,7 +18,6 @@ #You should have received a copy of the GNU General Public #License along with this library; if not, write to the Free Software #Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -from LPCObject import LPCObject permanant_connector = None @@ -26,6 +25,7 @@ """ This returns the connector to LPC style PLCobject """ + from LPCObject import LPCObject global permanant_connector servicetype, location = uri.split("://") if permanant_connector is None: