def run(self, kind):
        """Main function, runs on activation."""
        # Grab comic via async background process
        if kind == 'latest':
            thread = Thread(target=self.getComic)
        elif kind == 'random':
            thread = Thread(target=self.getRandomComic)
        elif kind != 'list':
            thread = Thread(target=self.getList)
        thread.start()
dataset/ETHPy150Open eivind88/xkcd/xkcd.py/XkcdGetComicCommand.run/operator `==` -> `!=`