mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-24 18:18:06 +00:00
Fixed progressbar adding new lines
This commit is contained in:
parent
0e919ab808
commit
c6f33fd0df
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -52,7 +52,7 @@ class ProgressBar:
|
|||
|
||||
def print(self):
|
||||
terminal_size = int(os.popen('stty size', 'r').read().split()[1])
|
||||
self.length = terminal_size - 10 - 2 * len(str(self.total))
|
||||
self.length = terminal_size - 11 - 2 * len(str(self.total))
|
||||
|
||||
if self.iteration == 0:
|
||||
percent = 0
|
||||
|
|
Loading…
Reference in a new issue