Skip to content

Commit

Permalink
Merge pull request #9 from dvazar/master
Browse files Browse the repository at this point in the history
fixed: The socket closes each time when emit a log record
  • Loading branch information
cdumay committed Nov 10, 2017
2 parents 7cb1d35 + cc7221a commit 1e670e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -34,7 +34,7 @@

from setuptools import setup, find_packages

VERSION = '0.1.4'
VERSION = '0.1.5'

setup(
name='djehouty',
Expand Down
2 changes: 1 addition & 1 deletion src/djehouty/tcp.py
Expand Up @@ -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)
Expand Down

0 comments on commit 1e670e4

Please sign in to comment.