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: