diff options
| author | Ultrabug <ultrabug@gentoo.org> | 2015-01-21 14:46:57 +0100 |
|---|---|---|
| committer | Ultrabug <ultrabug@gentoo.org> | 2015-01-21 14:46:57 +0100 |
| commit | 97a5ce4d944a7c907846a1437ab3bed96ec713bd (patch) | |
| tree | 34ea61da00c90daae9ed5a98f754769bc39f8729 /py3status | |
| parent | da77486cb5c2fc1de6a22dad15168a8a22db4cb2 (diff) | |
pep8 cleanup
Diffstat (limited to 'py3status')
| -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('}'): |
