This commit is contained in:
Mark Qvist 2024-08-29 15:25:37 +02:00
parent 166b00b6bf
commit 3a5ee15dd8

View File

@ -155,8 +155,6 @@ def listen(configdir, verbosity = 0, quietness = 0, allowed = [], display_identi
if filename_len > 0xFFFF:
print("Filename exceeds max size, cannot send")
exit(1)
else:
print("Preparing file...", end=" ")
temp_file.write(filename_len.to_bytes(2, "big"))
temp_file.write(filename_bytes)