Skip to content

Commit

Permalink
Merge pull request #1228 from dmitrygribenchuk/ClientClass-send-function
Browse files Browse the repository at this point in the history
fix for ClientClass send function
  • Loading branch information
revoxhere authored Jan 18, 2022
2 parents 0eb7000 + 672d5f4 commit 4d468ed
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 @@ -189,7 +189,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 4d468ed

Please sign in to comment.