From b37213c52cf2e5ce48efb3f66cc31a07fe2a3f41 Mon Sep 17 00:00:00 2001 From: Ruud Date: Tue, 24 Jan 2012 21:11:24 +0100 Subject: [PATCH] sqlalchemy warning --- couchpotato/core/plugins/searcher/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/couchpotato/core/plugins/searcher/main.py b/couchpotato/core/plugins/searcher/main.py index ffa01f6b..84b2f199 100644 --- a/couchpotato/core/plugins/searcher/main.py +++ b/couchpotato/core/plugins/searcher/main.py @@ -1,6 +1,6 @@ from couchpotato import get_session from couchpotato.core.event import addEvent, fireEvent -from couchpotato.core.helpers.encoding import simplifyString +from couchpotato.core.helpers.encoding import simplifyString, toUnicode from couchpotato.core.helpers.variable import md5, getImdb from couchpotato.core.logger import CPLog from couchpotato.core.plugins.base import Plugin @@ -92,7 +92,7 @@ class Searcher(Plugin): rls_info = ReleaseInfo( identifier = info, - value = nzb[info] + value = toUnicode(nzb[info]) ) rls.info.append(rls_info) db.commit()