Sometimes, the variable partner_id is False (on first connections). This leads to a crash because partner_id is a boolean instead of an integer. This commits simply sidestep the problem.
Sometimes, the variable partner_id is False (on first connections). This leads to a crash because partner_id is a boolean instead of an integer. This commits simply sidestep the problem.