diff --git a/setup.py b/setup.py index a13a664..bfba741 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ from setuptools import setup, find_packages -VERSION = '0.1.4' +VERSION = '0.1.5' setup( name='djehouty', diff --git a/src/djehouty/tcp.py b/src/djehouty/tcp.py index 7b40881..9738b06 100644 --- a/src/djehouty/tcp.py +++ b/src/djehouty/tcp.py @@ -61,7 +61,7 @@ def makeSocket(self): def checkSocket(self): """checkSocket""" try: - rlist = select.select([self.sock], (), (), 0) + rlist, wlist, xlist = select.select((self.sock,), (), (), 0) if len(rlist) > 0: data = bytearray(1024) nbytes = rlist[0].recv_into(data, 1024)