Handle the fact that in sqlite binary data might be stored as unicode or bytes

This commit is contained in:
Erik Johnston 2015-04-10 13:41:54 +01:00
parent ce797ad373
commit 7ed2ec3061
5 changed files with 20 additions and 5 deletions

View file

@ -36,7 +36,7 @@ class ProfileStore(SQLBaseStore):
)
if name:
name = name.decode("utf8")
name = self.database_engine.load_unicode(name)
defer.returnValue(name)