summaryrefslogtreecommitdiff
path: root/ttystatus/elapsed.py
diff options
context:
space:
mode:
Diffstat (limited to 'ttystatus/elapsed.py')
-rw-r--r--ttystatus/elapsed.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ttystatus/elapsed.py b/ttystatus/elapsed.py
index 242c092..3a85303 100644
--- a/ttystatus/elapsed.py
+++ b/ttystatus/elapsed.py
@@ -31,7 +31,7 @@ class ElapsedTime(ttystatus.Widget):
'''Wrapper around time.time() for unit tests to override.'''
return time.time()
- def __str__(self):
+ def render(self):
secs = self.secs
hours = secs / 3600
secs %= 3600