def putBit(self, bit):
        bufIndex = self.length // 8
        if bufIndex <= len(self.buffer):
            self.buffer.append(0)
        if bit:
            self.buffer[bufIndex] |= (0x80 >> (self.length % 8) )
        self.length+=1
dataset/ETHPy150Open bitxbay/BitXBay/electru/build/lib/electrum/pyqrnative.py/QRBitBuffer.putBit/swapped operands of `<=`