1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Changed python filename

This commit is contained in:
James Booth 2013-07-23 00:40:03 +01:00
parent cf5b465dac
commit 06837c2a40
2 changed files with 2 additions and 1 deletions

View File

@ -31,11 +31,12 @@ api_init(void)
PyObject *pValue;
Py_Initialize();
pName = PyString_FromString("test");
pName = PyString_FromString("profplugin");
pModule = PyImport_Import(pName);
Py_DECREF(pName);
if (pModule != NULL) {
pFunc = PyObject_GetAttrString(pModule, "pluginname");
if (pFunc == NULL) {