From: Anthony Minessale Date: Thu, 16 Oct 2014 16:36:59 +0000 (-0500) Subject: FS-6849 #comment change to 'import freeswitch' to only load it X-Git-Tag: v1.4.13~1^2~36^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b42e5a231db8ee00fb38658fb33f63ae9332e87;p=thirdparty%2Ffreeswitch.git FS-6849 #comment change to 'import freeswitch' to only load it --- 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);