summaryrefslogtreecommitdiffhomepage
path: root/host/inter
diff options
context:
space:
mode:
Diffstat (limited to 'host/inter')
-rw-r--r--host/inter/inter_node.py7
-rw-r--r--host/inter/test/test_drawable.py4
2 files changed, 3 insertions, 8 deletions
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."""
diff --git a/host/inter/test/test_drawable.py b/host/inter/test/test_drawable.py
index 6f86dd2d..ed5ba2b9 100644
--- a/host/inter/test/test_drawable.py
+++ b/host/inter/test/test_drawable.py
@@ -1,8 +1,6 @@
-import sys
-sys.path.append (sys.path[0] + '/../..')
+from math import pi
from inter.drawable import *
-from math import pi
class Test (Drawable):