Skip to content

Commit

Permalink
Merge pull request #764 from containers/bug-fix-progress
Browse files Browse the repository at this point in the history
update_progress only takes one parameter
  • Loading branch information
rhatdan authored Feb 7, 2025
2 parents aa09f6d + da453cf commit 7e1b334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ramalama/http_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def perform_download(self, file, progress):
accumulated_size += size
if time.time() - last_update_time >= 0.1:
self.now_downloaded += accumulated_size
self.update_progress(self.now_downloaded, self.total_to_download)
self.update_progress(accumulated_size)
accumulated_size = 0
last_update_time = time.time()

Expand Down

0 comments on commit 7e1b334

Please sign in to comment.