summaryrefslogtreecommitdiff
path: root/tests/echo.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/echo.py')
-rwxr-xr-xtests/echo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/echo.py b/tests/echo.py
index d79553e..1d46d50 100755
--- a/tests/echo.py
+++ b/tests/echo.py
@@ -11,8 +11,8 @@ as taken from http://docs.python.org/dev/library/ssl.html#certificates
'''
import os, sys, select, optparse
-sys.path.insert(0,os.path.dirname(__file__) + "/../websockify")
-from websocket import WebSocketServer
+sys.path.insert(0,os.path.join(os.path.dirname(__file__), ".."))
+from websockify.websocket import WebSocketServer
class WebSocketEcho(WebSocketServer):
"""