def update(self, key, password):
key = str(key)
if key not in self.data["accounts"]:
print("Account with given index does not exist")
return
website, username = self.data["accounts"][key]
keyring.delete_password(website, username)
keyring.set_password(website, username, password)
return
评论列表
文章目录