summaryrefslogtreecommitdiff
path: root/ttystatus/progressbar.py
diff options
context:
space:
mode:
Diffstat (limited to 'ttystatus/progressbar.py')
-rw-r--r--ttystatus/progressbar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ttystatus/progressbar.py b/ttystatus/progressbar.py
index d8189d3..54ca99f 100644
--- a/ttystatus/progressbar.py
+++ b/ttystatus/progressbar.py
@@ -28,7 +28,7 @@ class ProgressBar(ttystatus.Widget):
self.total = 1
self.width = width
- def __str__(self):
+ def render(self):
try:
done = float(self.done)
total = float(self.total)