summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLieuwe <lieuwemo@gmail.com>2011-03-15 18:18:31 (GMT)
committer Lieuwe <lieuwemo@gmail.com>2011-03-15 18:18:31 (GMT)
commit34051303cf888f7bd815f0686df9462bbf037d6d (patch)
tree71c8f3a1a26ee7c66656998b7ff957afc4fbe30d /src
parent59c0414ab4fa1751c0f014b3b8f6d705c5ad4e0b (diff)
downloadpowder-34051303cf888f7bd815f0686df9462bbf037d6d.zip
powder-34051303cf888f7bd815f0686df9462bbf037d6d.tar.gz
no need to include tpt_console.py on 64bit anymore.
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