summaryrefslogtreecommitdiffstats
path: root/progress.py
diff options
context:
space:
mode:
Diffstat (limited to 'progress.py')
-rw-r--r--progress.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/progress.py b/progress.py
index ae797488..de46f538 100644
--- a/progress.py
+++ b/progress.py
@@ -42,12 +42,12 @@ def duration_str(total):
42 42
43 43
44class Progress(object): 44class Progress(object):
45 def __init__(self, title, total=0, units='', print_newline=False): 45 def __init__(self, title, total=0, units='', print_newline=False, delay=True):
46 self._title = title 46 self._title = title
47 self._total = total 47 self._total = total
48 self._done = 0 48 self._done = 0
49 self._start = time() 49 self._start = time()
50 self._show = False 50 self._show = not delay
51 self._units = units 51 self._units = units
52 self._print_newline = print_newline 52 self._print_newline = print_newline
53 # Only show the active jobs section if we run more than one in parallel. 53 # Only show the active jobs section if we run more than one in parallel.