Skip to content

Commit

Permalink
Semantics
Browse files Browse the repository at this point in the history
  • Loading branch information
janssensjelle committed Jan 4, 2025
1 parent b785876 commit e5f78ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit e5f78ea

Please sign in to comment.