mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-10-25 16:43:17 -06:00
the PGF finder should be last not first
This commit is contained in:
1 parent
3b4729f3db
commit
2465abd7c7
1 file changed
+1
-1
@@ -1865,7 +1865,7 @@ MOD_INIT(pgf)
|
||||
PyObject *meta_path = PyObject_GetAttrString(sys, "meta_path");
|
||||
Py_DECREF(sys);
|
||||
if (meta_path != NULL) {
|
||||
PyList_Insert(meta_path, 0, (PyObject*) &pgf_GrammarImporterType);
|
||||
PyList_Append(meta_path, (PyObject*) &pgf_GrammarImporterType);
|
||||
Py_DECREF(meta_path);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user