From 672d5f454fcbd3ee98cafe1836ca369de3422d57 Mon Sep 17 00:00:00 2001 From: dmitrygribenchuk Date: Wed, 12 Jan 2022 18:24:07 +0200 Subject: [PATCH] fix for ClientClass send function Fix return for ClientClass function send. Account for bounty: griba --- PC_Miner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PC_Miner.py b/PC_Miner.py index e26ae5e1..0ad3a330 100644 --- a/PC_Miner.py +++ b/PC_Miner.py @@ -161,7 +161,7 @@ def connect(pool: tuple): def send(msg: str): sent = s.sendall(str(msg).encode(Settings.ENCODING)) - return True + return sent def recv(limit: int = 128): data = s.recv(limit).decode(Settings.ENCODING).rstrip("\n")