Skip to content

Commit

Permalink
fix for ClientClass send function
Browse files Browse the repository at this point in the history
Fix return for ClientClass function send.
Account for bounty: griba
  • Loading branch information
dmitrygribenchuk authored Jan 12, 2022
1 parent 601fa90 commit 672d5f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PC_Miner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 672d5f4

Please sign in to comment.