rightbtc python fixes for math with None

[ci skip]
This tag has no release notes.