def readS8(self, reg):
        # Reads a signed byte from the I2C device
        try:
            result = self.bus.read_byte_data(self.address, reg)
            if result > 127:
                return 256 - result
            else:
                return result
        except (IOError):
            print ("Error accessing 0x%02X: Check your I2C address" % self.address)
            return -1
dataset/ETHPy150Open cTn-dev/PyComms/PyComms/pycomms.py/PyComms.readS8/swapped operands of `-`