From 16bdcb8c7506192d785ef0abe5fe1da7947a1fdf Mon Sep 17 00:00:00 2001 From: Labrys Date: Wed, 15 Jun 2016 18:48:01 -0400 Subject: [PATCH] Fix #693 - UnicodeError in notifications --- sickbeard/server/web/core/base.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sickbeard/server/web/core/base.py b/sickbeard/server/web/core/base.py index e997bb2cf4..20c4d7a477 100644 --- a/sickbeard/server/web/core/base.py +++ b/sickbeard/server/web/core/base.py @@ -472,9 +472,9 @@ def get_messages(self): cur_notification_num = 1 for cur_notification in ui.notifications.get_notifications(self.request.remote_ip): messages['notification-{number}'.format(number=cur_notification_num)] = { - 'title': cur_notification.title, - 'message': cur_notification.message, - 'type': cur_notification.type, + 'title': '{0}'.format(cur_notification.title), + 'message': '{0}'.format(cur_notification.message), + 'type': '{0}'.format(cur_notification.type), } cur_notification_num += 1