Skip to content
Snippets Groups Projects
Commit 9ebabf28 authored by felmer's avatar felmer
Browse files

SSDM-3745: bug in Jython25InterpreterFactory fixed

SVN: 36758
parent 263fb199
No related branches found
No related tags found
No related merge requests found
......@@ -153,7 +153,7 @@ public class Jython25InterpreterFactory implements IJythonInterpreterFactory
try
{
PyFunction function = interpreter.get(name, PyFunction.class);
return new Jython25Function(function);
return function == null ? null : new Jython25Function(function);
} catch (Exception e)
{
return null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment