From 13cca0809dbae08cafb2df5612f5985144eedea3 Mon Sep 17 00:00:00 2001 From: Zen <46526140+master-of-zen@users.noreply.github.com> Date: Sun, 12 Jan 2020 01:57:20 +0200 Subject: [PATCH] added fallback --- avian.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avian.py b/avian.py index e401e73..c14d796 100755 --- a/avian.py +++ b/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: