Always return a string in email_imap_alert segment

Fixes #279
This commit is contained in:
ZyX 2013-03-03 15:00:10 +04:00 committed by Kim Silkebækken
parent 4c233122d6
commit f6d23bdf7e

View File

@ -484,7 +484,7 @@ def email_imap_alert(username, password, server='imap.gmail.com', port=993, fold
return None
return [{
'highlight_group': 'email_alert',
'contents': unread_count,
'contents': str(unread_count),
}]