Skip to content

Commit

Permalink
Fix #693 - UnicodeError in notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
labrys committed Jun 15, 2016
1 parent 1e52c62 commit 16bdcb8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sickbeard/server/web/core/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 16bdcb8

Please sign in to comment.