try:
temporary_record.read(filename)
self.passhash = temporary_record.get("account", "passhash")
+ return True
# otherwise, the password hash is empty
except:
self.passhash = ""
+ return False
def save(self):
"""Record account data to cold storage."""