aboutsummaryrefslogtreecommitdiffstats
path: root/src/py/netio.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/py/netio.py')
-rw-r--r--src/py/netio.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/py/netio.py b/src/py/netio.py
index a08c248..b7454b5 100644
--- a/src/py/netio.py
+++ b/src/py/netio.py
@@ -3,7 +3,7 @@ import struct
import tornado.ioloop
import tornado.stack_context
-import imcproxy
+from imc.proxy import Connection
def send_pack(stream,data):
stream.write(struct.pack('l',len(data)) + data)
@@ -15,7 +15,7 @@ def recv_pack(stream,callback):
stream.read_bytes(8,_recv_size)
-class SocketConnection(imcproxy.IMCConnection):
+class SocketConnection(Connection):
def __init__(self,linkid,stream):
super().__init__(linkid)