Mercurial > hg > vampy
diff PyPlugScanner.cpp @ 25:7648f3f2fa14
cleaned up vampy preloading, no functional change. tried python preload, did not work.
author | fazekasgy |
---|---|
date | Tue, 18 Aug 2009 08:32:45 +0000 |
parents | 7d28bed0864e |
children | e80caada79a8 |
line wrap: on
line diff
--- a/PyPlugScanner.cpp Mon Aug 17 15:22:06 2009 +0000 +++ b/PyPlugScanner.cpp Tue Aug 18 08:32:45 2009 +0000 @@ -109,7 +109,7 @@ //Add plugin path to active Python Path string pyCmd = "import sys\nsys.path.append('" + path + "')\n"; - PyRun_SimpleString(pyCmd.c_str()); + PyRun_SimpleString(pyCmd.c_str()); //Assign an object to the source code PyObject *pySource = PyString_FromString(classname.c_str());