reformatted adminpage.py

This commit is contained in:
crunk 2024-05-18 11:55:41 +02:00
parent 37c1a7a1de
commit 8f960a1a3b

View File

@ -46,7 +46,6 @@ def DeleteUsers(adminuserform):
userform.errors.append(f"User {useremail} deleted!") userform.errors.append(f"User {useremail} deleted!")
def DeleteUserFromDb(user): def DeleteUserFromDb(user):
try: try:
db.session.delete(user) db.session.delete(user)