diff options
| -rwxr-xr-x | py3status/__init__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/py3status/__init__.py b/py3status/__init__.py index b42e38b..5cc91a5 100755 --- a/py3status/__init__.py +++ b/py3status/__init__.py @@ -260,7 +260,10 @@ class I3status(Thread): on_c[section_name][button] = value # override time format - if section_name.split(' ')[0] in ['time', 'tztime'] and key == 'format': + if ( + section_name.split(' ')[0] in ['time', 'tztime'] + and key == 'format' + ): self.time_format = value if line.endswith('}'): |
