mirror of
https://github.com/hexedtech/codemp.git
synced 2024-12-22 21:04:53 +01:00
fix: moved import, exclude dist from packaging
This commit is contained in:
parent
9889891612
commit
b8376a5ef8
2 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@ authors = [
|
|||
license = "GPL-3.0-only"
|
||||
edition = "2021"
|
||||
version = "0.7.0-beta.1"
|
||||
exclude = ["dist/*"]
|
||||
|
||||
[lib]
|
||||
name = "codemp"
|
||||
|
|
|
@ -6,7 +6,7 @@ use pyo3::prelude::*;
|
|||
impl Client {
|
||||
#[new]
|
||||
fn __new__(host: String, username: String, password: String) -> crate::errors::ConnectionResult<Self> {
|
||||
tokio().block_on(Client::connect(host, username, password))
|
||||
super::tokio().block_on(Client::connect(host, username, password))
|
||||
}
|
||||
|
||||
// #[pyo3(name = "join_workspace")]
|
||||
|
|
Loading…
Reference in a new issue