summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis 'Horgix' Chotard <alexis.horgix.chotard@gmail.com>2015-05-07 18:12:35 +0200
committerAlexis 'Horgix' Chotard <alexis.horgix.chotard@gmail.com>2015-05-07 18:12:35 +0200
commit9894f83ac04425726ae889bd3f814fdda8c4ced9 (patch)
treed436fcdf4b1de50ac5cff9e6b27b20b6ce340645
parent600b12aac9b8ee544147c52da39bd53d5798d8e0 (diff)
imap module: fix empty color that made text invisible on i3bar when no unread email
-rw-r--r--py3status/modules/imap.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/py3status/modules/imap.py b/py3status/modules/imap.py
index 07190dd..473c55d 100644
--- a/py3status/modules/imap.py
+++ b/py3status/modules/imap.py
@@ -47,13 +47,11 @@ class Py3status:
self.new_mail_color = i3s_config['color_good']
if mail_count == 'N/A':
- response['color'] = ''
response['full_text'] = mail_count
elif mail_count != 0:
response['color'] = self.new_mail_color
response['full_text'] = self.name.format(unseen=mail_count)
else:
- response['color'] = ''
if self.hide_if_zero:
response['full_text'] = ''
else: