diff --git a/rust/src/storage/db/python_db_pool.rs b/rust/src/storage/db/python_db_pool.rs index 2c4bb4f237..d7387ccb63 100644 --- a/rust/src/storage/db/python_db_pool.rs +++ b/rust/src/storage/db/python_db_pool.rs @@ -224,7 +224,7 @@ impl LoggingTransactionWrapper { let fetch_fn = self .logging_transaction_py .bind(py) - .getattr(intern!(self.logging_transaction_py.py(), "fetchall"))?; + .getattr(intern!(py, "fetchall"))?; Ok(fetch_fn.call0()?.extract()?) } }