diff options
-rw-r--r-- | synapse/storage/database.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/database.py b/synapse/storage/database.py index bdffa72c88..3f848ca86f 100644 --- a/synapse/storage/database.py +++ b/synapse/storage/database.py @@ -113,7 +113,7 @@ def make_pool( self.commit = trace(connection.commit, "db.conn.commit") def __getattr__(self, item): - return self._connection.__getattr__(item) + return getattr(self._connection, item) engine.on_new_connection( LoggingDatabaseConnection( |