github.py 文件源码

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

项目:fuzzinator 作者: renatahodovan 项目源码 文件源码
def login(self, username, pwd):
        try:
            self.gh = Github(username, pwd)
            # This expression has no effect but will throw an exception if the authentication failed.
            self.gh.get_user().id
            self.ghapi = self.gh.get_repo(self.repository)
            return True
        except BadCredentialsException:
            return False
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号