Skip to content

Commit 56cba29

Browse files
authored
Fix Python3 callbacks (#1058)
1 parent 5ed9228 commit 56cba29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Engine/AppManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4189,7 +4189,7 @@ NATRON_PYTHON_NAMESPACE::getFunctionArguments(const std::string& pyFunc,
41894189
#endif
41904190
std::stringstream ss;
41914191
ss << "import inspect\n";
4192-
ss << "args_spec = inspect.getargspec(" << pyFunc << ")\n";
4192+
ss << "args_spec = inspect.getfullargspec(" << pyFunc << ")\n";
41934193
std::string script = ss.str();
41944194
std::string output;
41954195
bool ok = NATRON_PYTHON_NAMESPACE::interpretPythonScript(script, error, &output);

0 commit comments

Comments
 (0)