projects
/
mudpy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported from archive.
[mudpy.git]
/
lib
/
muff
/
muffuser.py
diff --git
a/lib/muff/muffuser.py
b/lib/muff/muffuser.py
index
6881869
..
ebe0c32
100644
(file)
--- a/
lib/muff/muffuser.py
+++ b/
lib/muff/muffuser.py
@@
-97,10
+97,12
@@
class User:
try:
temporary_record.read(filename)
self.passhash = temporary_record.get("account", "passhash")
try:
temporary_record.read(filename)
self.passhash = temporary_record.get("account", "passhash")
+ return True
# otherwise, the password hash is empty
except:
self.passhash = ""
# otherwise, the password hash is empty
except:
self.passhash = ""
+ return False
def save(self):
"""Record account data to cold storage."""
def save(self):
"""Record account data to cold storage."""