diff options
Diffstat (limited to 'ttystatus/fmt.py')
-rw-r--r-- | ttystatus/fmt.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ttystatus/fmt.py b/ttystatus/fmt.py index ec5b18f..e0328fb 100644 --- a/ttystatus/fmt.py +++ b/ttystatus/fmt.py @@ -54,7 +54,7 @@ def parse(fmt): argnames = m.group('args').split(',') argnames = [x for x in argnames if x] widget = klass(*argnames) - widget.interested_in = argnames + widget.interested_in = argnames or None result.append(widget) fmt = fmt[m.end():] elif fmt.startswith('%%'): |