[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2025-02-08 08:40:47 +00:00
parent 4a5246786a
commit d99e72f4f7

View File

@ -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: