def image_type(self):
        """
        Returns an easy-to-read version of self.image_channels
        """
        if self.image_channels is None:
            return None
        elif self.image_channels == 1:
            return 'GRAYSCALE'
        elif self.image_channels == 3:
            return 'COLOR'
        else:
            return self.image_channels % '%s-channel'
dataset/ETHPy150Open NVIDIA/DIGITS/digits/dataset/tasks/analyze_db.py/AnalyzeDbTask.image_type/swapped operands of `%`