summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpy3status/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/py3status/__init__.py b/py3status/__init__.py
index cfc467f..f1fcbda 100755
--- a/py3status/__init__.py
+++ b/py3status/__init__.py
@@ -260,7 +260,7 @@ class I3status(Thread):
on_c[section_name][button] = value
# override time format
- if section_name in ['time', 'tztime'] and key == 'format':
+ if section_name.split(' ')[0] in ['time', 'tztime'] and key == 'format':
self.time_format = value
if line.endswith('}'):