def __remove_action(self): checked_posts = [ self.bad_posts[idx] for idx in self._bad_posts.checkedIndexes ] bot = create_bot_from_config() bot.remove_posts(checked_posts)
def __remove_action(self): checked_posts = [self.bad_posts[idx] for idx in self._bad_posts.checkedIndexes] bot = create_bot_from_config() bot.remove_posts(checked_posts)
def run_bot(): bot = create_bot_from_config() return bot.get_bad_posts()