diff options
| author | Lieuwe <lieuwemo@gmail.com> | 2011-03-15 18:18:31 (GMT) |
|---|---|---|
| committer | Lieuwe <lieuwemo@gmail.com> | 2011-03-15 18:18:31 (GMT) |
| commit | 34051303cf888f7bd815f0686df9462bbf037d6d (patch) | |
| tree | 71c8f3a1a26ee7c66656998b7ff957afc4fbe30d /src | |
| parent | 59c0414ab4fa1751c0f014b3b8f6d705c5ad4e0b (diff) | |
| download | powder-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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |
