Fix sending BOB data in Python3