1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-19 01:45:32 +00:00

FS-6849 #comment change to 'import freeswitch' to only load it

This commit is contained in:
Anthony Minessale 2014-10-16 11:36:59 -05:00
parent 3cd0400d38
commit 6b42e5a231

@ -250,7 +250,7 @@ static void eval_some_python(const char *funcname, char *args, switch_core_sessi
goto done_swap_out;
}
PyRun_SimpleString("from freeswitch import *");
PyRun_SimpleString("import freeswitch");
if (session) {
sp = mod_python_conjure_session(module, session);