def run(self):
        while True:
            self.log("Checking news...")

            last_tweet_url = get_last_breaking_news_url()

            if self.last_tweet_url is None:
                self.last_tweet_url = last_tweet_url

            elif self.last_tweet_url != last_tweet_url:
                info = get_article_info(last_tweet_url)
                self.log(info[0] % "Found breaking news: %s")
                img = create_breaking_news_image_from_info(info)
                snap = Snap.from_image(img, duration = 10)
                self.send_snap(self.get_friends(), snap)
                self.last_tweet_url = last_tweet_url

            else:
                self.log("No breaking news found")

            time.sleep(60)
dataset/ETHPy150Open agermanidis/SnapchatBot/examples/reporterbot.py/ReporterBot.run/swapped operands of `%`