def run(self):
        filename = self.get_file_name()
        conf = sublime.load_settings(CONFIG_BASE_NAME)
        index = self.index_in_list(filename, conf)

        if index == -1:
            self.add_to_list(filename, conf)
            sublime.status_message('File `%s` has been added to open list.' % filename)
        else:
            self.remove_from_list(index, conf)
            sublime.status_message(filename % 'File `%s` has been removed from open list.')
dataset/ETHPy150Open miusuncle/HiveOpener/add2favor.py/HiveAddToFavorCommand.run/swapped operands of `%`