Private GIT

Skip to content
Snippets Groups Projects
Commit 28f4a72b authored by Dustyn Gibson's avatar Dustyn Gibson
Browse files

Merge pull request #1916 from fernandog/DB_unicode_error

Try to fix 'utf8' codec can't decode byte
parents e59870ec 5a694b13
No related branches found
No related tags found
No related merge requests found
...@@ -232,7 +232,7 @@ class DBConnection(object): ...@@ -232,7 +232,7 @@ class DBConnection(object):
try: try:
return unicode(x, 'utf-8') return unicode(x, 'utf-8')
except: except:
return unicode(x, sickbeard.SYS_ENCODING) return unicode(x, sickbeard.SYS_ENCODING,errors="ignore")
def _dict_factory(self, cursor, row): def _dict_factory(self, cursor, row):
d = {} d = {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment