mirror of
https://github.com/hexedtech/codemp-sublime.git
synced 2024-12-23 13:14:52 +01:00
fixed select_buffer in the lib
Former-commit-id: 13c418ed5990300a0c15278e490726dd01680dd2
This commit is contained in:
parent
a22d8ff6e1
commit
7bac395fc4
2 changed files with 5 additions and 2 deletions
|
@ -1 +1 @@
|
|||
c89068ebc710e18686da3486ffb87421db21e058
|
||||
55ed2ebf31cde48dafa1993cd5227bbe01669172
|
|
@ -169,7 +169,10 @@ impl PyClientHandle {
|
|||
.await
|
||||
.map_err(PyCodempError::from)?;
|
||||
|
||||
Ok(cont)
|
||||
Python::with_gil(|py| {
|
||||
let pystr: Py<PyString> = PyString::new(py, cont.as_str()).into();
|
||||
Ok(pystr)
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue