aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/interpreter.c')
-rw-r--r--src/interpreter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interpreter.c b/src/interpreter.c
index 941d2b2..90be58f 100644
--- a/src/interpreter.c
+++ b/src/interpreter.c
@@ -155,7 +155,10 @@ PyObject *executeFunction(const char *module, const char *funcName, const char*
{
mod = PyImport_ImportModule(module);
if (!mod)
+ {
+ printf("Module not found.\n");
return NULL;
+ }
insert(in->modules, mod);
}