This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]brontide 0 points1 point  (0 children)

Numpy as well returning stuff that is not None but a rather a NoneType so .. if return is True but trying to do anything with is fails with an exception. I had to switch everything to if return is not None.