clean up removal of tqdm
This commit is contained in:
parent
4904363288
commit
b9c4b014c2
@ -37,14 +37,12 @@ filename = os.path.basename(filename)
|
||||
filesize = int(filesize)
|
||||
# start receiving the file from the socket
|
||||
# and writing to the file stream
|
||||
progress = "_"
|
||||
#with open(filename, "wb") as f:
|
||||
|
||||
|
||||
|
||||
|
||||
while True:
|
||||
for _ in progress:
|
||||
# read 1024 bytes from the socket (receive)
|
||||
bytes_read = client_socket.recv(BUFFER_SIZE)
|
||||
if not bytes_read:
|
||||
|
Loading…
x
Reference in New Issue
Block a user