From 9123ef968f09aab58746679dd86d837ea1566aa3 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 15 Apr 2012 15:29:57 +0100 Subject: Fix usage of ProgressBar in example --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 5814fbc..9401704 100644 --- a/example.py +++ b/example.py @@ -47,7 +47,7 @@ def main(): ts.add(ttystatus.Literal(' done) ')) ts.add(ttystatus.RemainingTime('done', 'total')) ts.add(ttystatus.Literal(' ')) - ts.add(ttystatus.ProgressBar('done', 'total')) + ts.add(ttystatus.ProgressBar('done', 'total', 16)) ts['pathnames'] = pathnames ts['done'] = 0 ts['total'] = len(pathnames) -- cgit v1.2.1