mirror of https://github.com/coddrago/Heroku
Fix typo, which caused db problems on Heroku
parent
402ed878c6
commit
32bcd634a4
|
@ -69,7 +69,7 @@ class Database(dict):
|
|||
with self._postgre.cursor() as cur:
|
||||
cur.execute(
|
||||
"UPDATE hikka SET data = %s WHERE id = %s;",
|
||||
(self._client._tg_id, json.dumps(self)),
|
||||
(json.dumps(self), self._client._tg_id),
|
||||
)
|
||||
|
||||
def _redis_save_sync(self):
|
||||
|
|
Loading…
Reference in New Issue