add %age done
This commit is contained in:
parent
fa228bda5a
commit
86a5d97efc
@ -138,7 +138,7 @@ while packets > 0 or serverhash == None:
|
||||
if serverhash == None:
|
||||
UDPClientSocket.sendto(str.encode(f"{message}:"), serverAddressPort)
|
||||
download_speed = (total_packets - packets)/(time.time()-time_started if (time.time()-time_started)!=0 else 1)*max_payload
|
||||
print(f'{total_packets - packets}/{total_packets} | {convert_to_highest_speed(download_speed)}'+'\t'*5, end='\r')
|
||||
print(f'{total_packets - packets}/{total_packets} | {round((total_packets - packets)/total_packets*100,2)}% | {convert_to_highest_speed(download_speed)}'+'\t'*5, end='\r')
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user