interface.py 文件源码

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

项目:script.simkl 作者: SIMKL 项目源码 文件源码
def threaded(self):
        """ A loop threaded function, so you can do another things meanwhile """
        log("login thread start = {0}".format(self))
        cnt = 0
        while True:
            log("Still waiting... {0}".format(cnt))
            if self.pin_check(self.pin):
                self.success()
                self.close()
                break
            if self.canceled or cnt >= 220:
                notify(get_str(32031))
                break
            cnt += 1
            xbmc.Monitor().waitForAbort(4)

        log("Stop waiting")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号