def shift(self, places=1):

        if 0 > places:
            self.machine.events.post(self.name + '_shift_left')
        else:
            self.machine.events.post(self.name + '_shift_right')

        self.char_list.rotate(places)
        self.selected_char = self.char_list[self.cursor_position]
        self.render()
dataset/ETHPy150Open missionpinball/mpf/mpf/media_controller/elements/character_picker.py/CharacterPicker.shift/swapped operands of `>`