def callback(url): self.auth_url = url self.set_button_text() open_browser(self.auth_url)
def callback(url): self.auth_url = url logging.debug('Opening Last.fm Auth url: {}'.format(self.auth_url)) open_browser(self.auth_url) self.button.set_sensitive(True)