]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6849 #comment change to 'import freeswitch' to only load it
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 16 Oct 2014 16:36:59 +0000 (11:36 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 16 Oct 2014 16:36:59 +0000 (11:36 -0500)
src/mod/languages/mod_python/mod_python.c

index b27035ca983d618e65de414318d7ad2a1f779e65..c9bd2724ec3be84c69db66714f33656f28ce7c22 100644 (file)
@@ -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);