From 4a94cc3220991d2bc93598f344933418079fe4e0 Mon Sep 17 00:00:00 2001 From: flifloo Date: Wed, 24 Jul 2019 17:05:43 +0200 Subject: [PATCH] Forgotten print --- SecureSocketService/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/SecureSocketService/__init__.py b/SecureSocketService/__init__.py index d5194f0..a04b0eb 100644 --- a/SecureSocketService/__init__.py +++ b/SecureSocketService/__init__.py @@ -42,7 +42,6 @@ class Socket: Receive a message from a socket""" try: # Try to receive, else raise a custom error buffer_size = int(sock.recv(self.buffer_size, socket.MSG_WAITALL).decode("Utf8")) - print(buffer_size) response = sock.recv(buffer_size, socket.MSG_WAITALL) except (socket.error, ValueError): raise ConnectionError("Fail to receive")