clean up removal of tqdm
This commit is contained in:
@ -32,9 +32,8 @@ s.send(f"{filename}{SEPARATOR}{filesize}".encode())
|
||||
|
||||
def sendfile():
|
||||
# start sending the file
|
||||
progress = "_"
|
||||
with open(filename, "rb") as f:
|
||||
for _ in progress:
|
||||
while True:
|
||||
# read the bytes from the file
|
||||
bytes_read = f.read(BUFFER_SIZE)
|
||||
if not bytes_read:
|
||||
|
Reference in New Issue
Block a user