get_auth.py 文件源码

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

项目:plugin.video.bdyun 作者: caasiu 项目源码 文件源码
def onControl(self, event):
        if event == self.buttonInput:
            self.close()
        elif event == self.buttonRefresh:
            (self.codeString, self.vcode_path) = auth.refresh_vcode(self.cookie, self.tokens, self.vcodetype)
            if self.codeString and self.vcode_path:
                self.removeControl(self.image)
                self.image = xbmcgui.ControlImage(80, 100, 500, 200, self.vcode_path)
                self.addControl(self.image)
            else:
                dialog.ok('Error', u'???????????')



# Authorisation Process
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号