Skip to content

Commit

Permalink
Not use macro to return
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardWaiteSTFC committed Jan 29, 2025
1 parent 676caa3 commit 4cdedb9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ PyObject *getAlgorithmID(const IAlgorithm &self) {
AlgorithmID id = self.getAlgorithmID();
if (id)
return to_python_value<AlgorithmIDProxy>()(AlgorithmIDProxy(id));
return Py_NONE;
return Py_NewRef(Py_None);
}

//--------------------------------------------------------------------------------------
Expand Down

0 comments on commit 4cdedb9

Please # to comment.