From 55cff25cd18d429cc994ba7262767b73b6a4f862 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Tue, 3 Mar 2009 00:55:17 +0100 Subject: * all python: - no longer use sys.path, user should set PYTHONPATH. --- host/inter/inter_node.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'host/inter/inter_node.py') diff --git a/host/inter/inter_node.py b/host/inter/inter_node.py index 12aaee6e..329c9977 100644 --- a/host/inter/inter_node.py +++ b/host/inter/inter_node.py @@ -22,9 +22,8 @@ # # }}} """Inter, coupled with a mex Node.""" -if __name__ == '__main__': - import sys - sys.path.append (sys.path[0] + '/..') +from math import pi +import time from inter import Inter, Obstacle from dist_sensor import DistSensor @@ -32,8 +31,6 @@ from path import Path from Tkinter import * from mex.node import Node from mex.msg import Msg -from math import pi -import time class InterNode (Inter): """Inter, coupled with a mex Node.""" -- cgit v1.2.3