setupAccess.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:MMM-fitbit 作者: SVendittelli 项目源码 文件源码
def browser_authorize(self):
        """
        Open a browser to the authorization url and spool up a CherryPy
        server to accept the response
        """
        url, _ = self.oauth.authorize_token_url(redirect_uri=self.redirect_uri)
        # Open the web browser in a new thread for command-line browser support
        threading.Timer(1, webbrowser.open, args=(url,)).start()
        cherrypy.quickstart(self)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号