mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-21 08:42:03 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
4a5246786a
commit
d99e72f4f7
|
@ -14,7 +14,7 @@ def send_file(filename: str = "mytext.txt", testing: bool = False) -> None:
|
|||
print(f"Got connection from {addr}")
|
||||
data = conn.recv(1024)
|
||||
if not data:
|
||||
break #IF NOT data received,the Client has closed the Connection.
|
||||
break # IF NOT data received,the Client has closed the Connection.
|
||||
print(f"Server received: {data = }")
|
||||
|
||||
with open(filename, "rb") as in_file:
|
||||
|
|
Loading…
Reference in New Issue
Block a user