From 6b42e5a231db8ee00fb38658fb33f63ae9332e87 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 16 Oct 2014 11:36:59 -0500 Subject: [PATCH] FS-6849 #comment change to 'import freeswitch' to only load it --- src/mod/languages/mod_python/mod_python.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/languages/mod_python/mod_python.c b/src/mod/languages/mod_python/mod_python.c index b27035ca98..c9bd2724ec 100644 --- a/src/mod/languages/mod_python/mod_python.c +++ b/src/mod/languages/mod_python/mod_python.c @@ -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);