From 71ea4ffb84f042b721ed60fe5c788bc3226a2d4f Mon Sep 17 00:00:00 2001 From: Chris Hines <chris.hines@monash.edu> Date: Thu, 21 May 2020 12:31:13 +1000 Subject: [PATCH] Revert "socket.recv does not work how I though it did" This reverts commit 20eaccf79dbd87e66843d0084593589bf6808899. --- TWS/twsproxy/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TWS/twsproxy/__init__.py b/TWS/twsproxy/__init__.py index 47728c4..55bbc8b 100644 --- a/TWS/twsproxy/__init__.py +++ b/TWS/twsproxy/__init__.py @@ -211,7 +211,7 @@ class TWSProxy(threading.Thread): in particular Datagram sockets in various domains (e.g., the UNIX and Internet domains) permit zero-length datagrams. When such a datagram is received, the return value is 0. """ - #logger.debug('msglength 0, sending 0 {} {}'.format(src,dest)) + logger.debug('msglength 0, sending 0 {} {}'.format(src,dest)) dest.send(buff) #dest.shutdown(shuttype) #initshutdown.set() -- GitLab