summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index e09160f..f42a020 100644
--- a/src/main.c
+++ b/src/main.c
@@ -27,10 +27,8 @@
#ifdef PYCONSOLE
#include "Python.h"
-#ifndef PYEXT
#include "pyconsole.h"
#endif
-#endif
#include <stdio.h>
#include <stdlib.h>
@@ -2009,6 +2007,7 @@ int main(int argc, char *argv[])
PyRun_SimpleString("print 'python present.'");
//load the console module and whatnot
#ifdef PYEXT
+ PyRun_SimpleString(tpt_console_py);
printf("using external python console file.\n");
pname=PyString_FromString("tpt_console");//create string object
pmodule = PyImport_Import(pname);//import module