general fixes
This commit is contained in:
parent
281d786c19
commit
885b838704
7 changed files with 66 additions and 23 deletions
2
py/db.py
2
py/db.py
|
@ -67,7 +67,6 @@ class DB:
|
|||
|
||||
stored_hashed_password = self.database[username]["hashed_password"]
|
||||
entered_hashed_password = self.hash_password(password)
|
||||
print(stored_hashed_password == entered_hashed_password)
|
||||
return stored_hashed_password == entered_hashed_password
|
||||
|
||||
def change_settings(self, data):
|
||||
|
@ -127,7 +126,6 @@ class DB:
|
|||
|
||||
else:
|
||||
with open("database.json", "w") as file:
|
||||
print("saving")
|
||||
json.dump(self.database, file)
|
||||
|
||||
def load_database(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue