clean up removal of tqdm

This commit is contained in:
CactiChameleon9 2020-12-10 08:45:54 +00:00
parent 4904363288
commit b9c4b014c2

View File

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