Switch to MariaDB connector and Create UserManager Class
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user