menu/lcdmenu.py
def do_action(self):
        """This method is called when the 'action' button is pressed"""
        menu_item = self.peek()
        action = menu_item[ACTION]
        if action:
            action(self)
        self.display()
This method is called when the 'action' button is pressed
This method is called when the 'action' button is pressed
This method is called when the ' action ' button is pressed
def do_action(self):
        menu_item = self.peek()
        action = menu_item[ACTION]
        if action:
            action(self)
        self.display()
def do_action ( self ) : menu_item = self . peek ( ) action = menu_item [ ACTION ] if action : action ( self ) self . display ( )
This method is called when the 'action' button is pressed
This method is called when the ' action ' button is pressed
"""This method is called when the 'action' button is pressed"""
self