kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 6f45db6a01e162b62837c7280b049673d6908f17
parent 45260b491b3fd412a56f9ed044c30e4dbb052964
Author: Joris Vink <joris@coders.se>
Date:   Tue, 10 Apr 2018 14:32:48 +0200

pyko: call kore_python_path() on the module path.

Diffstat:
pyko/src/pyko.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/pyko/src/pyko.c b/pyko/src/pyko.c @@ -18,6 +18,7 @@ #include <sys/stat.h> #include <kore/kore.h> +#include <kore/python_api.h> #include <stdio.h> #include <limits.h> @@ -58,6 +59,7 @@ kore_parent_configure(int argc, char **argv) if ((fp = fopen(config, "r")) == NULL) fatal("failed to open configuration '%s'", config); + kore_python_path(module); kore_module_load(module, NULL, KORE_MODULE_PYTHON); if (chdir(module) == -1)