def start_ticker(self): if not self.eventLoop.is_alive(): self.eventLoop.start() if not utils.can_auth(): check_credentials() return False return True
def check_credentials(): msg.debug('Print checking credentials.') if utils.can_auth(): return if not utils.has_browser(): msg.log('You need a Floobits account to use the Floobits plugin. Go to https://floobits.com to sign up.') return yield VUI.create_or_link_account, None, G.DEFAULT_HOST, False