def get(self):
        """Redirects the UA to GitHub authorization page."""
        if self.current_user != None:
            self.redirect('/')
        else:
            self.redirect('https://github.com/login/oauth/authorize?client_id=%s&redirect_uri=%s' % (config.GITHUB_ID, config.GITHUB_CALLBACK))
dataset/ETHPy150Open tomekwojcik/iheartgit/iheartgit/handlers/oauth.py/GitHubLoginHandler.get/original