File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ def download(self, url):
113113
114114 download_time = time .time () - start_time
115115 download_speed = format_bytes (math .ceil (self .file_size / (download_time )))
116- print ("Downloaded {} at {}" .format (format_bytes (self .file_size ), download_speed ))
116+ print ("Downloaded {} at {}" .format (format_bytes (self .file_size , type = "size" ), download_speed ))
117117
118118 return self .destination , download_speed
119119
@@ -152,7 +152,7 @@ def multi_part_download(self, url):
152152 # Calculate and print stats
153153 download_time = time .time () - start_time
154154 download_speed = format_bytes (math .ceil (self .file_size / (download_time )))
155- print ("Downloaded {} at {}" .format (format_bytes (self .file_size ), download_speed ))
155+ print ("Downloaded {} at {}" .format (format_bytes (self .file_size , type = "size" ), download_speed ))
156156
157157 return self .destination
158158
You can’t perform that action at this time.
0 commit comments