Skip to content

Commit

Permalink
Fix Python
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmmease committed Jan 31, 2024
1 parent b7ffca4 commit 6ed2c01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions avenger-python/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ fn register_font_directory(font_dir: &str) {
#[pymodule]
fn _avenger(_py: Python, m: &PyModule) -> PyResult<()> {
m.add_class::<SceneGraph>()?;
m.add_function(wrap_pyfunction!(register_font_directory, m)?)?;
m.add("__version__", env!("CARGO_PKG_VERSION"))?;
Ok(())
}

0 comments on commit 6ed2c01

Please sign in to comment.