MODLANG-105

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12658 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West
2009-03-18 18:56:36 +00:00
parent beea024a53
commit e941f7f4a4
2 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -388,6 +388,8 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_python_load)
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "Python Framework Loading...\n");
globals.pool = pool;
if (!Py_IsInitialized()) {
// initialize python system
@@ -408,7 +410,6 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_python_load)
PyEval_ReleaseLock();
}
globals.pool = pool;
do_config();
/* connect my internal structure to the blank pointer passed to me */