Commit b4b7b7b8 authored by Maxim Onciul's avatar Maxim Onciul
Browse files


parent 9c5c09f4
......@@ -36,8 +36,10 @@ def send_data():
lambda _, __: run_pi.create_errs(config),
# TODO last 6 characters are swallowed!
with open(tx_file, "r") as tx:
for line in tx:
print(f"len line: {len(line)}")
config["socket"].sendto(bytes(line, "utf-8"), config["other"])
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment