Skip to content

Commit

Permalink
Fix: Download progress printed nothing ("")
Browse files Browse the repository at this point in the history
Solution: Print a dot "." instead.
  • Loading branch information
hoh committed Nov 17, 2023
1 parent 27a7780 commit f4a7a41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aleph/vm/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ async def download_file_in_chunks(url: str, tmp_path: Path) -> None:
cache_file.write(chunk)
counter += 1
if not (counter % 20):
sys.stdout.write("")
sys.stdout.write(".")
sys.stdout.flush()

sys.stdout.write("\n")
Expand Down

0 comments on commit f4a7a41

Please sign in to comment.