Switch to MariaDB connector and Create UserManager Class

This commit is contained in:
2024-11-26 16:40:00 +01:00
parent 12eb6cf2f4
commit 3df853b5c9
12 changed files with 1169 additions and 46 deletions

View File

@@ -23,8 +23,8 @@ class Vermasseln:
cipher = self.__vermasslungsKobold()
decrypted_data = cipher.decrypt_and_verify(encoded_data[0], encoded_data[1])
decrypted_data = decrypted_data.decode("utf-8")
except (ValueError, IndexError):
print("Configuration corrupted")
except (ValueError, IndexError) as e:
print(f"Configuration corrupted: {str(e)}")
decrypted_data = None
except Exception as e: