From 10e704326949088bc47185b1d2b0495f58ce2809 Mon Sep 17 00:00:00 2001 From: Robert Wolterman Date: Wed, 11 Jan 2017 03:17:26 +0000 Subject: [PATCH] Fix and close #51, I wasn't careful in swapping the module name. I thought the name was changed months ago, but eh, fixed now --- source/py_gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/py_gpio.c b/source/py_gpio.c index f7e1abc..2f727a5 100644 --- a/source/py_gpio.c +++ b/source/py_gpio.c @@ -861,7 +861,7 @@ PyMODINIT_FUNC initGPIO(void) clear_error_msg(); #if PY_MAJOR_VERSION > 2 - if ((module = PyModule_Create(&rpigpiomodule)) == NULL) + if ((module = PyModule_Create(&chipgpiomodule)) == NULL) return NULL; #else if ((module = Py_InitModule3("GPIO", gpio_methods, moduledocstring)) == NULL)