general fixes

This commit is contained in:
Patrick 2024-10-09 20:20:04 +02:00
parent 281d786c19
commit 885b838704
7 changed files with 66 additions and 23 deletions

View file

@ -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):