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 16, 2023
1 parent 21183b4 commit 308b3d5
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 @@ -66,7 +66,7 @@ async def download_file(url: str, local_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 308b3d5

Please sign in to comment.