summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2012-04-15 19:20:12 +0100
committerLars Wirzenius <liw@liw.fi>2012-04-15 19:20:12 +0100
commit6204db8f52e77fd18dd681b65452ef2103dfa688 (patch)
tree53494703f1c93d8e29232775c52e802870601de2
parent8620de40bf5d5a223acc37d5cc9ed55aa022314c (diff)
downloadpython-ttystatus-6204db8f52e77fd18dd681b65452ef2103dfa688.tar.gz
Fix example to create ProgressBar correctly (again)
Undoing previous change, yay.
-rw-r--r--example.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example.py b/example.py
index 9401704..5814fbc 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', 16))
+ ts.add(ttystatus.ProgressBar('done', 'total'))
ts['pathnames'] = pathnames
ts['done'] = 0
ts['total'] = len(pathnames)