From e5f78ea71d68148e0da0eb2f9d710b0a42e947eb Mon Sep 17 00:00:00 2001 From: Jelle Janssens Date: Wed, 18 Dec 2024 16:08:31 +0000 Subject: [PATCH] Semantics --- src/core/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/config.py b/src/core/config.py index c1cdcc0..81284f7 100644 --- a/src/core/config.py +++ b/src/core/config.py @@ -227,7 +227,7 @@ def get_academy_cert_role(self, certificate: int) -> int: self.academy_certificates.CERTIFIED_PENETRATION_TESTING_SPECIALIST: self.roles.ACADEMY_CPTS, self.academy_certificates.CERTIFIED_DEFENSIVE_SECURITY_ANALYST: self.roles.ACADEMY_CDSA, self.academy_certificates.CERTIFIED_WEB_EXPLOITATION_EXPERT: self.roles.ACADEMY_CWEE, - self.academy_certificates.CERTIFIED_ACTIVEDIRECTORY_PENTESTING_EXPERT: self.roles.ACADEMY_CAPE, + self.academy_certificates.CERTIFIED_ACTIVEDIRECTORY_PENTESTING_EXPERT: self.roles.ACADEMY_CAPE }.get(certificate) def get_post_or_rank(self, what: str) -> Optional[int]: @@ -262,7 +262,7 @@ def get_cert(self, what: str): "CBBH": self.roles.ACADEMY_CBBH, "CDSA": self.roles.ACADEMY_CDSA, "CWEE": self.roles.ACADEMY_CWEE, - "CAPE": self.roles.ACADEMY_CAPE, + "CAPE": self.roles.ACADEMY_CAPE }.get(what) class Config: