Jan-18-2018, 07:36 PM
_mod = None
that doesn't look needed at all. You immediately define it right before returning it, so setting it to None at the top of the function doesn't do anything.That said, it says it's been generated by SWIG. Why not just regenerate it?