summaryrefslogtreecommitdiff
path: root/ttystatus/counter.py
diff options
context:
space:
mode:
Diffstat (limited to 'ttystatus/counter.py')
-rw-r--r--ttystatus/counter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ttystatus/counter.py b/ttystatus/counter.py
index 5b92791..ae61fa0 100644
--- a/ttystatus/counter.py
+++ b/ttystatus/counter.py
@@ -26,7 +26,7 @@ class Counter(ttystatus.Widget):
self.prev = None
self.count = 0
- def __str__(self):
+ def render(self):
return str(self.count)
def update(self, master):