def applyColour(self, colour):
        """Very simple colour substitution"""
        for x in range(0, self.rect.width):
            for y in range(0, self.rect.height):
                pixel = self.image.get_at((x, y)).r
                if (50 > pixel):
                    self.image.set_at((x, y), colour)


# create sprites
dataset/ETHPy150Open tobykurien/rpi_lcars/demo/demo.py/PpuiImage.applyColour/swapped operands of `>`