1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2025-01-13 03:03:33 +02:00

math.floor -> int

This commit is contained in:
reujab 2017-07-17 03:48:55 -04:00
parent 0c91dcfb88
commit 10a530226a
2 changed files with 1 additions and 2 deletions

BIN
Knack Regular Nerd Font.ttf Normal file

Binary file not shown.

View File

@ -24,7 +24,6 @@ from argparse import RawTextHelpFormatter
import errno
import time
import subprocess
import math
try:
#Load the module
@ -454,7 +453,7 @@ def update_progress(progress):
progress = 1
status = "Done...\r\n"
block = int(round(barLength*progress))
text = "\r[{0}] {1}%".format( "#"*block + "-"*(barLength-block), math.floor(progress*100))
text = "\r[{0}] {1}%".format( "#"*block + "-"*(barLength-block), int(progress*100))
sys.stdout.write(text)
sys.stdout.flush()