diff --git a/postal/pylangclassifier.c b/postal/pylangclassifier.c index 70b7154..338691e 100644 --- a/postal/pylangclassifier.c +++ b/postal/pylangclassifier.c @@ -132,7 +132,7 @@ void init_langclassifier(void) { #ifdef IS_PY3K PyObject *module = PyModule_Create(&module_def); #else - PyObject *module = Py_InitModule("_langclassifier", parser_methods); + PyObject *module = Py_InitModule("_langclassifier", langclassifier_methods); #endif if (module == NULL) {