diff --git a/Cargo.toml b/Cargo.toml index 65aa763..a0f88c3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,7 @@ authors = [ license = "GPL-3.0-only" edition = "2021" version = "0.7.0-beta.1" +exclude = ["dist/*"] [lib] name = "codemp" diff --git a/src/ffi/python/client.rs b/src/ffi/python/client.rs index 4bf9c9e..e9d6350 100644 --- a/src/ffi/python/client.rs +++ b/src/ffi/python/client.rs @@ -6,7 +6,7 @@ use pyo3::prelude::*; impl Client { #[new] fn __new__(host: String, username: String, password: String) -> crate::errors::ConnectionResult { - tokio().block_on(Client::connect(host, username, password)) + super::tokio().block_on(Client::connect(host, username, password)) } // #[pyo3(name = "join_workspace")]