def get_tools_list(self):
    self.tools_list = []
    selected_item = (- 1)
    for item in wbt.list_tools().keys():
        if item:
            value = to_camelcase(item).replace('TIN', 'Tin').replace('KS', 'Ks').replace('FD', 'Fd')
            self.tools_list.append(value)
            if (item == self.tool_name):
                selected_item = (len(self.tools_list) - 1)
    if (selected_item == (- 1)):
        selected_item = 0
        self.tool_name = self.tools_list[0]
def get_tools_list(self):
    self.tools_list = []
    selected_item = (- 1)
    for item in wbt.list_tools().keys():
        if item:
            value = to_camelcase(item).replace('TIN', 'Tin').replace('KS', 'Ks').replace('FD', 'Fd')
            self.tools_list.append(value)
            if (item == self.tool_name):
                selected_item = (len(self.tools_list) - 1)
    if (selected_item == (- 1)):
        selected_item = 0
        self.tool_name = self.tools_list[0]