summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLieuwe <lieuwemo@gmail.com>2011-03-19 14:49:36 (GMT)
committer Lieuwe <lieuwemo@gmail.com>2011-03-19 14:49:36 (GMT)
commitd7cfbed2cd9b4cdd52885410fa01a434cfd441f5 (patch)
treed96e5cefefd096cb957cbd117a27b4c03805790a /src
parent6c000478f21070e420b50cf1060737e821f741d8 (diff)
downloadpowder-d7cfbed2cd9b4cdd52885410fa01a434cfd441f5.zip
powder-d7cfbed2cd9b4cdd52885410fa01a434cfd441f5.tar.gz
cleanup :D
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 7354220..2b41426 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2076,10 +2076,10 @@ int main(int argc, char *argv[])
//initialise python console
Py_Initialize();
+ PyRun_SimpleString("print 'python present.'");
Py_InitModule("tpt", EmbMethods);
//change the path to find all the correct modules
PyRun_SimpleString("import sys\nsys.path.append('./tptPython.zip')\nsys.path.append('.')");
- PyRun_SimpleString("print 'python present.'");
//load the console module and whatnot
#ifdef PYEXT
PyRun_SimpleString(tpt_console_py);