account.py 文件源码

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

项目:Gnome-Authenticator 作者: bil-elmoussaoui 项目源码 文件源码
def __init__(self, app, db):
        Thread.__init__(self)
        GObject.GObject.__init__(self)
        self.db = db
        self.counter_max = 30
        self.counter = self.counter_max
        self.account_id = app[0]
        self.account_name = app[1]
        self.secret_code = Database.fetch_secret_code(app[2])
        if self.secret_code:
            self.code = Code(self.secret_code)
        else:
            self.code_generated = False
            logging.error("Could not read the secret code,"
                          "the keyring keys were reset manually")
        self.logo = app[3]
        self.start()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号