forked from Mirrors/freeswitch
FS-6849 #resolve #comment scripts need to have 'from freeswitch import *' at the top. I added it explicitly to compensate.
This commit is contained in:
parent
e3e267f462
commit
3cd0400d38
@ -250,6 +250,8 @@ static void eval_some_python(const char *funcname, char *args, switch_core_sessi
|
||||
goto done_swap_out;
|
||||
}
|
||||
|
||||
PyRun_SimpleString("from freeswitch import *");
|
||||
|
||||
if (session) {
|
||||
sp = mod_python_conjure_session(module, session);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user