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()
评论列表
文章目录