fix: python glue works (only tested on mac though)

This commit is contained in:
Camillo Schenone 2024-03-16 15:42:36 +01:00
parent 859baf6572
commit 25e56f9894

View file

@ -511,7 +511,7 @@ impl PyTextChange {
/* ------ Python module --------*/
#[pymodule]
fn codemp_client(_py: Python, m: &PyModule) -> PyResult<()> {
fn codemp(_py: Python, m: &PyModule) -> PyResult<()> {
m.add_function(wrap_pyfunction!(codemp_init, m)?)?;
m.add_function(wrap_pyfunction!(init_logger, m)?)?;
m.add_class::<PyClient>()?;