diff options
author | Daniel M. Pelt <D.M.Pelt@cwi.nl> | 2015-06-24 21:36:04 +0200 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2015-07-23 11:57:16 +0200 |
commit | edae78481cf0e9cbffe335de1e541821758c5da1 (patch) | |
tree | 72e9d7280e6cf9f9a66c0c20f71fd079bd4ebad6 /src | |
parent | 385865d6ad7a54ee294b4086d4679747f49cff2e (diff) | |
download | astra-edae78481cf0e9cbffe335de1e541821758c5da1.tar.gz astra-edae78481cf0e9cbffe335de1e541821758c5da1.tar.bz2 astra-edae78481cf0e9cbffe335de1e541821758c5da1.tar.xz astra-edae78481cf0e9cbffe335de1e541821758c5da1.zip |
Log error when running Python plugin algorithm
Diffstat (limited to 'src')
-rw-r--r-- | src/PluginAlgorithm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PluginAlgorithm.cpp b/src/PluginAlgorithm.cpp index a27ce2c..7dcaf68 100644 --- a/src/PluginAlgorithm.cpp +++ b/src/PluginAlgorithm.cpp @@ -62,7 +62,7 @@ bool CPluginAlgorithm::initialize(const Config& _cfg){ void CPluginAlgorithm::run(int _iNrIterations){ if(instance==NULL) return; - PyObject *retVal = PyObject_CallMethod(instance, "run", "i",_iNrIterations); + PyObject *retVal = PyObject_CallMethod(instance, "astra_run", "i",_iNrIterations); if(retVal==NULL) return; Py_DECREF(retVal); } |