7fddf383b1
Don't assign the BPy_StructRNA a value which can be 'None', instead, set it to NULL.
Don't assign the BPy_StructRNA a value which can be 'None', instead, set it to NULL.