Skip to content

Commit

Permalink
Use Py_InitializeEx() instead of Py_Initialize().
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed Apr 14, 2014
1 parent e9e33c6 commit ee96b58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/filed/python-fd.c
Expand Up @@ -177,7 +177,7 @@ bRC DLL_IMP_EXP loadPlugin(bInfo *lbinfo,
/*
* Setup Python
*/
Py_Initialize();
Py_InitializeEx(0);
PyEval_InitThreads();
mainThreadState = PyEval_SaveThread();
#endif
Expand Down

0 comments on commit ee96b58

Please sign in to comment.