added fallback

This commit is contained in:
Zen 2020-01-12 01:57:20 +02:00
parent 4d13758df4
commit 13cca0809d

View file

@ -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: