mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-25 02:29:40 +00:00
added fallback
This commit is contained in:
parent
4d13758df4
commit
13cca0809d
1 changed files with 1 additions and 1 deletions
2
avian.py
2
avian.py
|
@ -43,7 +43,7 @@ class ProgressBar:
|
|||
self.print()
|
||||
|
||||
def print(self):
|
||||
terminal_size, _ = shutil.get_terminal_size()
|
||||
terminal_size, _ = shutil.get_terminal_size((80, 20))
|
||||
bar_length = terminal_size - (2 * len(str(self.tasks))) - 13
|
||||
|
||||
if self.iteration == 0:
|
||||
|
|
Loading…
Reference in a new issue