diff --git a/sickbeard/db.py b/sickbeard/db.py index a5f8701f7c2ee99e2667ed77d9a6ed0b3f6fe843..2df18e5d493637821602901c2ef207ed70017663 100644 --- a/sickbeard/db.py +++ b/sickbeard/db.py @@ -57,7 +57,13 @@ class DBConnection(object): db_locks[self.filename] = threading.Lock() self.connection = sqlite3.connect(dbFilename(self.filename, self.suffix), 20, check_same_thread=False) - self.connection.text_factory = self._unicode_text_factory + + # Lets test without this for awhile. If non-unicode data is getting to the DB, fix it at the source. + # There are too many places we convert when we don't need to, + # sqlite, browsers, python, everything understands unicode + + #self.connection.text_factory = self._unicode_text_factory + db_cons[self.filename] = self.connection else: self.connection = db_cons[self.filename]