def get_console_command(self):
    if (len(self.console_cmd_list) > 0):
        cmd = self.console_cmd_list.pop()
        return cmd
def get_console_command(self):
    if (len(self.console_cmd_list) > 0):
        cmd = self.console_cmd_list.pop()
        return cmd