diff options
author | Lars Wirzenius <liw@liw.fi> | 2012-04-15 19:20:12 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2012-04-15 19:20:12 +0100 |
commit | 6204db8f52e77fd18dd681b65452ef2103dfa688 (patch) | |
tree | 53494703f1c93d8e29232775c52e802870601de2 | |
parent | 8620de40bf5d5a223acc37d5cc9ed55aa022314c (diff) | |
download | python-ttystatus-6204db8f52e77fd18dd681b65452ef2103dfa688.tar.gz |
Fix example to create ProgressBar correctly (again)
Undoing previous change, yay.
-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', 16)) + ts.add(ttystatus.ProgressBar('done', 'total')) ts['pathnames'] = pathnames ts['done'] = 0 ts['total'] = len(pathnames) |