Skip to content

Commit

Permalink
Update fetch.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Oct 4, 2024
1 parent 8ec3eb5 commit 5866a98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def verify_image(dmgpath, cnkpath):
last=0
for cnkcount, (cnksize, cnkhash) in enumerate(verify_chunklist(cnkpath), 1):
if (cnkcount - last) >= 10:
last = cnkcount
last = cnkcount
print(f'\rChunk {cnkcount} ({cnksize} bytes)', end='')
sys.stdout.flush()
cnk = dmgf.read(cnksize)
Expand Down

0 comments on commit 5866a98

Please sign in to comment.