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:
parent
cf5b465dac
commit
06837c2a40
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user