提交 3cd0400d authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-6849 #resolve #comment scripts need to have 'from freeswitch import *' at the…

FS-6849 #resolve #comment scripts need to have 'from freeswitch import *' at the top.  I added it explicitly to compensate.
上级 e3e267f4
...@@ -250,6 +250,8 @@ static void eval_some_python(const char *funcname, char *args, switch_core_sessi ...@@ -250,6 +250,8 @@ static void eval_some_python(const char *funcname, char *args, switch_core_sessi
goto done_swap_out; goto done_swap_out;
} }
PyRun_SimpleString("from freeswitch import *");
if (session) { if (session) {
sp = mod_python_conjure_session(module, session); sp = mod_python_conjure_session(module, session);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论