From 6ae155ee8ebc0d52fd63f208e57808c1d228f7e0 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Thu, 3 Dec 2015 12:29:49 +0100 Subject: [PATCH] app_python: use NAME compile flag for default path to the script - reflects better the application name --- modules/app_python/python_mod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/app_python/python_mod.c b/modules/app_python/python_mod.c index f297069800b..7cc7a2ecba8 100644 --- a/modules/app_python/python_mod.c +++ b/modules/app_python/python_mod.c @@ -39,7 +39,7 @@ MODULE_VERSION -static str script_name = str_init("/usr/local/etc/sip-router/handler.py"); +static str script_name = str_init("/usr/local/etc/" NAME "/handler.py"); static str mod_init_fname = str_init("mod_init"); static str child_init_mname = str_init("child_init");