Skip to content

Commit

Permalink
Make the _progress script a bit more robust.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgiven committed Sep 28, 2024
1 parent d890383 commit 3b2a3c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/_progress.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import sys

(_, current, max) = sys.argv
(_, current, max, *_) = sys.argv
percent = int(100 * float(current) / float(max))
print(f"[{percent:>3}%]")

0 comments on commit 3b2a3c6

Please sign in to comment.