summaryrefslogtreecommitdiffstats
path: root/py3status
diff options
context:
space:
mode:
Diffstat (limited to 'py3status')
-rwxr-xr-xpy3status/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/py3status/__init__.py b/py3status/__init__.py
index fcd48ea..d1bc025 100755
--- a/py3status/__init__.py
+++ b/py3status/__init__.py
@@ -151,7 +151,7 @@ class I3status(Thread):
time_format = self.config['time_format']
for item in json_list:
if item['name'] in ['time', 'tztime']:
- i3status_time = item['full_text']
+ i3status_time = item['full_text'].encode('UTF-8', 'replace')
# add mendatory items in i3status time format wrt issue #18
for fmt in ['%Y', '%m', '%d']:
if not fmt in time_format: