mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 22:14:55 -04:00
Go back to storing JSON in TEXT
This commit is contained in:
parent
bc9e69e160
commit
b8092fbc82
11 changed files with 20 additions and 41 deletions
|
@ -37,8 +37,3 @@ class Sqlite3Engine(object):
|
|||
|
||||
def is_deadlock(self, error):
|
||||
return False
|
||||
|
||||
def load_unicode(self, v):
|
||||
if isinstance(v, types.UnicodeType):
|
||||
return v
|
||||
return bytes(v).decode("UTF8")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue