diff options
author | Lars Wirzenius <liw@liw.fi> | 2012-04-15 15:29:57 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2012-04-15 15:29:57 +0100 |
commit | 9123ef968f09aab58746679dd86d837ea1566aa3 (patch) | |
tree | 0444dae03ef22a67879b5a0f39f8fdd0fdfc4876 | |
parent | c54f82a88e9592afd6bd0232f50a121acb1238e9 (diff) | |
download | python-ttystatus-9123ef968f09aab58746679dd86d837ea1566aa3.tar.gz |
Fix usage of ProgressBar in example
-rw-r--r-- | example.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |