diff --git a/couchpotato/core/notifications/history/main.py b/couchpotato/core/notifications/history/main.py index aa55cf0d..f235fd03 100644 --- a/couchpotato/core/notifications/history/main.py +++ b/couchpotato/core/notifications/history/main.py @@ -1,4 +1,5 @@ from couchpotato import get_session +from couchpotato.core.helpers.encoding import toUnicode from couchpotato.core.logger import CPLog from couchpotato.core.notifications.base import Notification from couchpotato.core.settings.model import History as Hist @@ -16,7 +17,7 @@ class History(Notification): db = get_session() history = Hist( added = int(time.time()), - message = message, + message = toUnicode(message), release_id = data.get('id', 0) ) db.add(history)