def index_in_list(self, filename, conf=None):
        if conf == None:
            conf = sublime.load_settings(CONFIG_BASE_NAME)

        file_list = [item[0] for item in conf.get('files', [])]
        return file_list.index(filename) if file_list in filename else -1
dataset/ETHPy150Open miusuncle/HiveOpener/add2favor.py/HiveAddToFavorCommand.index_in_list/swapped operands of `in`