mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 03:32:51 -06:00
the PGF finder should be last not first
This commit is contained in:
@@ -1865,7 +1865,7 @@ MOD_INIT(pgf)
|
|||||||
PyObject *meta_path = PyObject_GetAttrString(sys, "meta_path");
|
PyObject *meta_path = PyObject_GetAttrString(sys, "meta_path");
|
||||||
Py_DECREF(sys);
|
Py_DECREF(sys);
|
||||||
if (meta_path != NULL) {
|
if (meta_path != NULL) {
|
||||||
PyList_Insert(meta_path, 0, (PyObject*) &pgf_GrammarImporterType);
|
PyList_Append(meta_path, (PyObject*) &pgf_GrammarImporterType);
|
||||||
Py_DECREF(meta_path);
|
Py_DECREF(meta_path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user