summaryrefslogtreecommitdiff
path: root/ttystatus/literal.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2012-04-15 19:08:23 +0100
committerLars Wirzenius <liw@liw.fi>2012-04-15 19:08:23 +0100
commitb3cd2a40dc74bb33753c5c04bab06b5e93086d64 (patch)
tree8b8577972fb765b9186385a498be84d4ca44f01c /ttystatus/literal.py
parent9cb92e835f1b37a5e5a30c0fdbc76ab3bb220f89 (diff)
downloadpython-ttystatus-b3cd2a40dc74bb33753c5c04bab06b5e93086d64.tar.gz
Add width argument to render() method
Diffstat (limited to 'ttystatus/literal.py')
-rw-r--r--ttystatus/literal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ttystatus/literal.py b/ttystatus/literal.py
index fa09ceb..cdeb4d7 100644
--- a/ttystatus/literal.py
+++ b/ttystatus/literal.py
@@ -24,5 +24,5 @@ class Literal(ttystatus.Widget):
def __init__(self, string):
self.value = string
- def render(self):
+ def render(self, width):
return self.value